You are here:
Start »
AVL.NET »
AVL.PointToLineDistance(AvlNet.Point2D, AvlNet.Line2D, float, float, AvlNet.Segment2D)
AVL.PointToLineDistance(AvlNet.Point2D, AvlNet.Line2D, float, float, AvlNet.Segment2D)
| Namespace: | AvlNet |
| Assembly: | AVL.NET.dll |
Syntax
public static void PointToLineDistance(
AvlNet.Point2D inPoint,
AvlNet.Line2D inLine,
float inResolution,
out float outDistance,
out AvlNet.Segment2D outConnectingSegment
)
Parameters
- inPoint
- Type: AvlNet.Point2D
- inLine
- Type: AvlNet.Line2D
- inResolution
- Type: System.Single
- outDistance
- Type: System.Single
- outConnectingSegment
- Type: AvlNet.Segment2D
Examples
PointToLineDistance performed on a sample point and a sample line. The green segment is the value of outConnectingSegment output.
Errors
| Error type |
Description |
| DomainError |
Indefinite line on input in PointToLineDistance. |
See also