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

Invoke.PointToLineDistance_Oriented

Measures the signed distance between a point and a line with direction.

Namespace:Avl
Assembly:AvlNet.dll

Syntax

C++
C#
 
public static void PointToLineDistance_Oriented
(
	Avl.Point2D inPoint,
	Avl.Segment2D inLineSection,
	float inResolution,
	out float outDistance,
	Optional<Avl.Segment2D> outConnectingSegment
)

Parameters

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

See also