Back to Adaptive Vision Library website
You are here: Start » Function Reference » Geometry 2D Constructions » ProjectPointOnCircle
ProjectPointOnCircle
Projects a point onto a circle.
Header: | AVL.h |
---|
Syntax
C++
C#
void avl::ProjectPointOnCircle ( const avl::Point2D& inPoint, const avl::Circle2D& inCircle, avl::Point2D& outProjectionPoint )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
inPoint | const Point2D& | |||
inCircle | const Circle2D& | |||
outProjectionPoint | Point2D& |
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 the input point and the center of the input circle are almost equal.