Package org.locationtech.jts.algorithm
Class CGAlgorithms3D
java.lang.Object
org.locationtech.jts.algorithm.CGAlgorithms3D
Basic computational geometry algorithms
for geometry and coordinates defined in 3-dimensional Cartesian space.
-
Constructor Summary
Constructors -
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.
-
Constructor Details
-
CGAlgorithms3D
private CGAlgorithms3D()
-
-
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
-