Package org.eclipse.mosaic.lib.spatial
Class Edge<T extends Vector3d>
java.lang.Object
org.eclipse.mosaic.lib.spatial.Edge<T>
- All Implemented Interfaces:
Serializable
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoublegetDistanceToPoint(Vector3d point) doublegetDistanceToRay(Ray ray) doublegetNearestPointOnEdge(Vector3d queryPt) getNearestPointOnEdge(Vector3d point, Vector3d result) getNearestPointOnEdge(Edge<?> otherEdge) getNearestPointOnEdge(Edge<?> otherEdge, Vector3d result) getNearestPointOnEdge(Ray ray) getNearestPointOnEdge(Ray ray, Vector3d result) booleanisLeftOfEdge(Vector3d queryPt) booleanisLeftOfEdge(Vector3d queryPt, Vector3d up)
-
Field Details
-
a
-
b
-
-
Constructor Details
-
Edge
-
-
Method Details
-
isLeftOfEdge
-
isLeftOfEdge
-
getDistanceToPoint
-
getDistanceToRay
-
getNearestPointOnEdge
-
getNearestPointOnEdge
-
getNearestPointOnEdge
-
getNearestPointOnEdge
-
getNearestPointOnEdge
-
getNearestPointOnEdge
-
getLength
public double getLength()
-