Class CGAlgorithms3D
java.lang.Object
org.locationtech.jts.algorithm.CGAlgorithms3D
Basic computational geometry algorithms
for geometry and coordinates defined in 3-dimensional Cartesian space.
- Author:
- mdavis
-
Method Summary
Modifier and TypeMethodDescriptionstatic doubledistance(Coordinate p0, Coordinate p1) static doublestatic doubledistanceSegmentSegment(Coordinate A, Coordinate B, Coordinate C, Coordinate D) Computes the distance between two 3D segments.
-
Method Details
-
distance
-
distancePointSegment
-
distanceSegmentSegment
Computes the distance between two 3D segments.- Parameters:
A- the start point of the first segmentB- the end point of the first segmentC- the start point of the second segmentD- the end point of the second segment- Returns:
- the distance between the segments
-