Back to Aurora Vision Library Lite websiteYou are here:
Start »
Geometry 2D »
Geometry 2D Constructions »
ProjectPointOnCircle
Header: |
AVL.h
|
Namespace: |
avl |
Projects a point onto a circle.
Syntax
void avl::ProjectPointOnCircle
(
const avl::Point2D& inPoint,
const avl::Circle2D& inCircle,
avl::Point2D& outProjectionPoint
)
Parameters
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.
Examples
ProjectPointOnCircle performed on point and circle.