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

AVL.SegmentToPlaneDistance3D

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

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void SegmentToPlaneDistance3D
(
	AvlNet.Segment3D inSegment3D,
	AvlNet.Plane3D inPlane,
	float inResolution,
	out float outDistance
)

Parameters

Name Type Range Default Description
inSegment3DAvlNet.Segment3D
inPlaneAvlNet.Plane3D
inResolutionfloat<0.0f, INF>1.0fNumber of real-world units per one pixel. Default value: 1.0f.
outDistancefloat

Errors

List of possible exceptions:

Error type Description
DomainError Indefinite plane on input in SegmentToPlaneDistance3D.

Function Overrides

See also