Back to Aurora Vision Library website
You are here: Start » Function Reference » Geometry 3D » Geometry 3D Distance Metrics » PointToCircleDistance3D
PointToCircleDistance3D
Header: | AVL.h |
---|---|
Namespace: | avl |
Module: | Vision3DLite |
Measures the distance between a 3D point and a circle in 3D.
Syntax
C++
C#
void avl::PointToCircleDistance3D ( const avl::Point3D& inPoint3D, const avl::Circle3D& inCircle3D, float inResolution, float& outDistance, atl::Optional<avl::Segment3D&> outConnectingSegment3D = atl::NIL )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inPoint3D | const Point3D& | ||||
inCircle3D | const Circle3D& | ||||
inResolution | float | 0.0 - | 1.0f | Number of real-world units per one pixel | |
outDistance | float& | ||||
outConnectingSegment3D | Optional<Segment3D&> | NIL |
Optional Outputs
The computation of following outputs can be switched off by passing value atl::NIL
to these parameters: outConnectingSegment3D.
Read more about Optional Outputs.
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Indefinite circle on input in PointToCircleDistance3D. |