Back to Adaptive Vision Library website
You are here: Start » Function Reference » Geometry 2D Constructions » ProjectPointsOnCircle
ProjectPointsOnCircle
Projects points onto a circle.
Header: | AVL.h |
---|
Syntax
C++
C#
void avl::ProjectPointsOnCircle ( const atl::Array<avl::Point2D>& inPoints, const avl::Circle2D& inCircle, atl::Array<avl::Point2D>& outProjectionPoints, atl::Conditional<avl::Arc2D>& outProjectionArc )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
inPoints | const Array<Point2D>& | Points to be projected | ||
inCircle | const Circle2D& | Circle the points will be projected on | ||
outProjectionPoints | Array<Point2D>& | Projected points | ||
outProjectionArc | Conditional<Arc2D>& | Arc containing the projected points |
Description
Note that because of inaccuracies of floating-point arithmetic, some geometric operations (including this one) may lead to unpredictable results for degenerated cases. In this filter such a case occurs when an input point and the center of the input circle are almost equal.