You are here: Start » AVL.NET » Function Reference » Geometry 3D » Geometry 3D Distance Metrics » AVL.SegmentToSegmentDistance3D

AVL.SegmentToSegmentDistance3D

Measures the distance between two segments in 3D.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void SegmentToSegmentDistance3D
(
	AvlNet.Segment3D inSegment1,
	AvlNet.Segment3D inSegment2,
	float inResolution,
	out float outDistance,
	INullable<AvlNet.Segment3D> outConnectingSegment3D
)

Parameters

Name Type Range Default Description
inSegment1AvlNet.Segment3D
inSegment2AvlNet.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