You are here: Start » AVL.NET » AVS.PointToLineDistance_Oriented Method

AVS.PointToLineDistance_Oriented Method

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

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void PointToLineDistance_Oriented
(
	AvlNet.Point2D inPoint,
	AvlNet.Segment2D inLineSection,
	float inResolution,
	out float outDistance,
	out AvlNet.Segment2D outConnectingSegment
)

Parameters

Name Type Range Default Description
inPointAvlNet.Point2D
inLineSectionAvlNet.Segment2D
inResolutionfloat<0.0f, INF>1.0fNumber of real-world units per one pixel. Default value: 1.0f.
outDistancefloat
outConnectingSegmentAvlNet.Segment2D

Function Overrides

See also