You are here: Start » AVL.NET » AVL.PointsOnCircleProjection(AvlNet.Point2D[], AvlNet.Circle2D, AvlNet.Point2D[], AvlNet.Arc2D?)

AVL.PointsOnCircleProjection(AvlNet.Point2D[], AvlNet.Circle2D, AvlNet.Point2D[], AvlNet.Arc2D?)

Projects points onto a circle.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax


public static void PointsOnCircleProjection(
	AvlNet.Point2D[] inPoints,
	AvlNet.Circle2D inCircle,
	out AvlNet.Point2D[] outProjectionPoints,
	out AvlNet.Arc2D? outProjectionArc
)

Parameters

inPoints
Type: AvlNet.Point2D
Points to be projected
inCircle
Type: AvlNet.Circle2D
Circle the points will be projected on
outProjectionPoints
Type: AvlNet.Point2D
Projected points
outProjectionArc
Type: System.Nullable<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.

Examples

PointsOnCircleProjection performed on points and circle.

See also