InternalClipperGetClosestPtOnSegment Method |
Gets the closest point on a segment to a given point.
Namespace: Clipper2LibAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntaxpublic static Point64 GetClosestPtOnSegment(
Point64 offPt,
Point64 seg1,
Point64 seg2
)
Parameters
- offPt Point64
- The point from which the closest point is to be determined.
- seg1 Point64
- The start point of the segment.
- seg2 Point64
- The end point of the segment.
Return Value
Point64The closest point on the segment to the given point.
See Also