You are here: Start » AVL.NET » AVL.PointsOnCircleProjection Method

AVL.PointsOnCircleProjection Method

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

Name Type Range Default Description
inPointsAvlNet.Point2DPoints to be projected.
inCircleAvlNet.Circle2DCircle the points will be projected on.
outProjectionPointsAvlNet.Point2DProjected 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

PointsOnCircleProjection performed on points and circle.

See also