302303304305306307308309310311312
@Override public Vector3D getCenterPointLocal() { Vertex[] v = this.getVerticesLocal(); Vertex lengthVect = (Vertex)v[1].getSubtracted(v[0]); lengthVect.scaleLocal(0.5f); return v[0].getAdded(lengthVect); } /** * Gets the length.