Click or drag to resize

MathHelper.NearestPointToCircle Method

Finds the nearest point on circle to a given point.

Namespace:  DXFReaderNET
Assembly:  DXFReaderNET (in DXFReaderNET.dll) Version: 20.12.2
Syntax
public static Vector2 NearestPointToCircle(
	Circle circle,
	Vector2 point
)

Parameters

circle
Type: DXFReaderNET.Entities.Circle
The circle
point
Type: DXFReaderNET.Vector2
The given point

Return Value

Type: Vector2
The nearest point on circle to a given point
See Also