You are here: Start » AVL.NET » AVL.ProjectPointOnCircle
Projects a point onto a circle.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
C++
C#
public static void ProjectPointOnCircle ( AvlNet.Point2D inPoint, AvlNet.Circle2D inCircle, out AvlNet.Point2D outProjectionPoint )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inPoint | AvlNet.Point2D | ||||
inCircle | AvlNet.Circle2D | ||||
outProjectionPoint | AvlNet.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.