public class CGAlgorithms3D extends Object
| Constructor and Description |
|---|
CGAlgorithms3D()
|
| Modifier and Type | Method and Description |
|---|---|
static double |
distance(Coordinate
|
static double |
distancePointSegment(Coordinate
|
static double |
distanceSegmentSegment(Coordinate
Computes the distance between two 3D segments.
|
public static double distance(Coordinatep0, Coordinate p1)
public static double distancePointSegment(Coordinatep, Coordinate A, Coordinate B)
public static double distanceSegmentSegment(CoordinateA, Coordinate B, Coordinate C, Coordinate D)
A - the start point of the first segment
B - the end point of the first segment
C - the start point of the second segment
D - the end point of the second segment