Back to Adaptive Vision Library website

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

CircleToPlaneDistance3D


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

Syntax

C++
C#
 
void avl::CircleToPlaneDistance3D
(
	const avl::Circle3D& inCircle3D,
	const avl::Plane3D& inPlane,
	float inResolution,
	float& outDistance,
	atl::Optional<avl::Segment3D&> outConnectingSegment3D = atl::NIL
)

Parameters

Name Type Range Default Description
inCircle3D const Circle3D&
inPlane const Plane3D&
inResolution float 0.0 - 1.0f Number of real-world units per one pixel
outDistance float&
outConnectingSegment3D Optional<Segment3D&> NIL