MapPoint QueryPointAndDistance3D( Segment segment, SegmentExtensionType extensionType, MapPoint inPoint, AsRatioOrLength asRatioOrLength, out double distanceAlongCurve, out double distanceFromCurve )
Overloads Function QueryPointAndDistance3D( _ ByVal segment As Segment, _ ByVal extensionType As SegmentExtensionType, _ ByVal inPoint As MapPoint, _ ByVal asRatioOrLength As AsRatioOrLength, _ ByRef distanceAlongCurve As Double, _ ByRef distanceFromCurve As Double _ ) As MapPoint
Parameters
- segment
- The segment on which to find the closest point. The segment may be extended.
- extensionType
- Describes if, how and where to extend segments.
- inPoint
- The input point.
- asRatioOrLength
- Determines whether the distanceAlongCurve is returned as a ratio of the curve length or as length from the start point.
- distanceAlongCurve
- Describes how far along the closest point is along the curve, either as a ratio or length.
- distanceFromCurve
- Describes how far the point is from the curve.
Return Value
MapPoint representing the closest point on the curve.