You are here: Start » AVL.NET » Function Reference » Geometry 2D » Geometry 2D Constructions » AVL.ProjectPointsOnCircle

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
inPointsSystem.Collections.Generic.IList<AvlNet.Point2D>Points to be projected.
inCircleAvlNet.Circle2DCircle the points will be projected on.
outProjectionPointsSystem.Collections.Generic.IList<AvlNet.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