You are here: Start » AVL.NET » Function Reference » Geometry 2D » Geometry 2D Distance Metrics » AVL.PointToCircleDistance

AVL.PointToCircleDistance

Measures the distance between a point and a circle.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void PointToCircleDistance
(
	AvlNet.Point2D inPoint,
	AvlNet.Circle2D inCircle,
	float inResolution,
	out float outDistance
)

Parameters

Name Type Range Default Description
inPointAvlNet.Point2D
inCircleAvlNet.Circle2D
inResolutionfloat<0.0f, INF>1.0fNumber of real-world units per one pixel. Default value: 1.0f.
outDistancefloat

Examples

PointToCircleDistance performed on a sample point and a sample circle. The green segment is the value of outConnectingSegment output.

Function Overrides

See also