You are here: Start » AVL.NET » Invoke.SegmentToSegmentDistance3D

Invoke.SegmentToSegmentDistance3D

Measures the distance between two segments in 3D.

Namespace:Avl
Assembly:AvlNet.dll

Syntax

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

Parameters

Name Type Range Default Description
inSegment1Avl.Segment3D
inSegment2Avl.Segment3D
inResolutionfloat<0.0f, INF>1.0fNumber of real-world units per one pixel. Default value: 1.0f.
outDistancefloat
outConnectingSegment3DAtl.Optional<Avl.Segment3D>

See also