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 TypeMethodDescriptiondouble
getDistanceToPoint
(Vector3d point) double
getDistanceToRay
(Ray ray) double
getNearestPointOnEdge
(Vector3d queryPt) getNearestPointOnEdge
(Vector3d point, Vector3d result) getNearestPointOnEdge
(Edge<?> otherEdge) getNearestPointOnEdge
(Edge<?> otherEdge, Vector3d result) getNearestPointOnEdge
(Ray ray) getNearestPointOnEdge
(Ray ray, Vector3d result) boolean
isLeftOfEdge
(Vector3d queryPt) boolean
isLeftOfEdge
(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()
-