You are here: Start » AVL.NET » AVL.ProjectPointsOnCircle
Projects points onto a circle.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
C++
C#
public static void ProjectPointsOnCircle ( IList<AvlNet.Point2D> inPoints, AvlNet.Circle2D inCircle, IList<AvlNet.Point2D> outProjectionPoints, out AvlNet.Arc2D? outProjectionArc )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inPoints | System.Collections.Generic.IList<AvlNet.Point2D> | Points to be projected. | |||
inCircle | AvlNet.Circle2D | Circle the points will be projected on. | |||
outProjectionPoints | System.Collections.Generic.IList<AvlNet.Point2D> | Projected points. | |||
outProjectionArc | AvlNet.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.