Click or drag to resize

MathHelperNearestPointToCircle Method

Finds the nearest point on circle to a given point.

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

Parameters

circle
Type: DXFReaderNET.EntitiesCircle
The circle
point
Type: DXFReaderNETVector2
The given point

Return Value

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