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

AVS.PointToPointDistance Method

Measures the distance between two points.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void PointToPointDistance
(
	AvlNet.Point2D inPoint1,
	AvlNet.Point2D inPoint2,
	float inResolution,
	out float outDistance,
	out AvlNet.Segment2D outConnectingSegment
)

Parameters

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

Function Overrides

See also