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

AVS.PointToSegmentDistance3D Method

Measures the distance between a 3D point and a segment in 3D.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void PointToSegmentDistance3D
(
	AvlNet.Point3D inPoint3D,
	AvlNet.Segment3D inSegment3D,
	float inResolution,
	out float outDistance,
	INullable<AvlNet.Segment3D> outConnectingSegment3D
)

Parameters

Name Type Range Default Description
inPoint3DAvlNet.Point3D
inSegment3DAvlNet.Segment3D
inResolutionfloat<0.0f, INF>1.0fNumber of real-world units per one pixel. Default value: 1.0f.
outDistancefloat
outConnectingSegment3DAvlNet.INullable<AvlNet.Segment3D> Can be null to skip this parameter calculation.

Function Overrides

See also