Vertex v1 = getVerticesLocal()[1];
if (v0.z == 0 && v1.z == 0){ //Only create bounding poly if the line is in the z=0 plane
Vector3D dir = v1.getSubtracted(v0);
dir.normalizeLocal();
dir.scaleLocal(10);
dir.rotateZ(PApplet.radians(90));
Vector3D bv0 = new Vector3D(v0.getAdded(dir));
Vector3D bv1 = new Vector3D(v0.getAdded(dir.getScaled(-1)));
Vector3D bv2 = new Vector3D(v1.getAdded(dir.getScaled(-1)));
Vector3D bv3 = new Vector3D(v1.getAdded(dir));