Back to Aurora Vision Library Lite website
You are here: Start » Geometry 2D » Geometry 2D Distance Metrics » CircleToCircleDistance
CircleToCircleDistance
Header: | AVL.h |
---|---|
Namespace: | avl |
Measures the distance between two circles.
Syntax
void avl::CircleToCircleDistance ( const avl::Circle2D& inCircle1, const avl::Circle2D& inCircle2, float inResolution, float& outDistance, atl::Optional<avl::Segment2D&> outConnectingSegment = atl::NIL )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inCircle1 | const Circle2D& | ||||
inCircle2 | const Circle2D& | ||||
inResolution | float | 0.0 - | 1.0f | Number of real-world units per one pixel | |
outDistance | float& | ||||
outConnectingSegment | Optional<Segment2D&> | NIL |
Optional Outputs
The computation of following outputs can be switched off by passing value atl::NIL
to these parameters: outConnectingSegment.
Read more about Optional Outputs.