You are here: Start » AVL.NET » AVL.PathToPointDistanceProfile(AvlNet.Point2D, AvlNet.Path, float, AvlNet.Profile, float[], AvlNet.Segment2D[])

AVL.PathToPointDistanceProfile(AvlNet.Point2D, AvlNet.Path, float, AvlNet.Profile, float[], AvlNet.Segment2D[])

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax


public static void PathToPointDistanceProfile(
	AvlNet.Point2D inPoint,
	AvlNet.Path inPath,
	float inResolution,
	out AvlNet.Profile outDistanceProfile,
	out float[] outDistances,
	out AvlNet.Segment2D[] outConnectingSegments
)

Parameters

inPoint
Type: AvlNet.Point2D
inPath
Type: AvlNet.Path
inResolution
Type: System.Single
outDistanceProfile
Type: AvlNet.Profile
outDistances
Type: System.Single
outConnectingSegments
Type: AvlNet.Segment2D

Description

The operation iterates over characteristic points of inPath and at each point computes the distance from this point to inPoint. The operation computes outDistanceProfile profile of consecutive distances and, additionally, the outConnectingSegments array of corresponding line segments.

Examples

The resulting outConnectingSegments drawn onto the input data.

The resulting outDistanceProfile.

See also