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

AVL.CircleToPlaneDistance3D

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

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void CircleToPlaneDistance3D
(
	AvlNet.Circle3D inCircle3D,
	AvlNet.Plane3D inPlane,
	float inResolution,
	out float outDistance,
	out AvlNet.Segment3D outConnectingSegment3D,
	out float outSignedDistance
)

Parameters

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

Errors

List of possible exceptions:

Error type Description
DomainError Indefinite circle on input in CircleToPlaneDistance3D.
DomainError Indefinite plane on input in CircleToPlaneDistance3D.

Function Overrides

See also