You are here: Start » AVL.NET » AVL.ProjectPointsOnCircle

AVL.ProjectPointsOnCircle

Projects points onto a circle.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void ProjectPointsOnCircle
(
	AvlNet.Point2D[] inPoints,
	AvlNet.Circle2D inCircle,
	out AvlNet.Point2D[] outProjectionPoints,
	out AvlNet.Arc2D? outProjectionArc
)

Parameters

Name Type Range Default Description
inPointsAvlNet.Point2D[]Points to be projected.
inCircleAvlNet.Circle2DCircle the points will be projected on.
outProjectionPointsAvlNet.Point2D[]Projected points.
outProjectionArcAvlNet.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

ProjectPointsOnCircle performed on points and circle.

See also