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

AVL.ProjectPointOnCircle

Projects a point onto a circle.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void ProjectPointOnCircle
(
	AvlNet.Point2D inPoint,
	AvlNet.Circle2D inCircle,
	out AvlNet.Point2D outProjectionPoint
)

Parameters

Name Type Range Default Description
inPointAvlNet.Point2D
inCircleAvlNet.Circle2D
outProjectionPointAvlNet.Point2D

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 the input point and the center of the input circle are almost equal.

Examples

ProjectPointOnCircle performed on point and circle.

See also