project
Projects a given point onto the segment, calculating the closest position on the segment and its associated properties such as projection parameter, distance, and position.
Return
A SegmentProjection3D object containing the projection parameter, the squared distance between the point and the projected position, and the projected position itself.
Parameters
point
The 3D point to project onto the segment.