You are here: Start » AVL.NET » Invoke.PathToPointDistance
Computes the smallest distance between a path and a point.
Namespace: | Avl |
---|---|
Assembly: | AvlNet.dll |
Syntax
C++
C#
public static void PathToPointDistance ( Avl.Point2D inPoint, Avl.Path inPath, float inResolution, out float outDistance, Optional<Avl.Segment2D> outConnectingSegment )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inPoint | Avl.Point2D | Input point. | ||
![]() | inPath | Avl.Path | Input path. | ||
![]() | inResolution | float | <0.0f, INF> | 1.0f | Default value: 1.0f. |
![]() | outDistance | float | Minimal distance between input path and input point. | ||
![]() | outConnectingSegment | Atl.Optional<Avl.Segment2D> | Segment connecting input path and input point having minimal length. |