- getFirstEndpoint
- getSecondEndpoint
- <init>
Initializes this line segment to have the given endpoints.

- distance
This methods computes the minimum distance between this line segment and the
given one. Useful link

- firstEndpointContainsNaN
Test if the first endpoint of this line segment contains Double#NaN.

- getDirection
Computes the vector going from the first to the second endpoint of this line
segment.

- getDirectionCopy
Computes the vector going from the first to the second endpoint of this line
segment. WARNING: This

- getMidpoint
Computes the coordinates of the point located exactly at the middle of this line
segment.

- length
Computes the length of this line segment.

- orthogonalProjection
Computes the orthogonal projection of a 3D point on this 3D line segment. Edge
cases: * if the leng

- percentageAlongLineSegment
Computes a percentage along the line segment representing the location of the
given point once proje

- pointBetweenEndPointsGivenPercentage
Computes the coordinates of the point located at a given percentage on this line
segment:
pointToPac