You are here: Start » AVL.NET » Invoke.PointToLineDistance

Invoke.PointToLineDistance

Measures the distance between a point and a line.

Namespace:Avl
Assembly:AvlNet.dll

Syntax

C++
C#
 
public static void PointToLineDistance
(
	Avl.Point2D inPoint,
	Avl.Line2D inLine,
	float inResolution,
	out float outDistance,
	Optional<Avl.Segment2D> outConnectingSegment,
	Optional<float> outSignedDistance
)

Parameters

Name Type Range Default Description
inPointAvl.Point2D
inLineAvl.Line2D
inResolutionfloat<0.0f, INF>1.0fNumber of real-world units per one pixel. Default value: 1.0f.
outDistancefloat
outConnectingSegmentAtl.Optional<Avl.Segment2D>
outSignedDistanceAtl.Optional<float>

See also