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
)
Public Shared Function NearestPointToCircle (
circle As Circle,
point As Vector2
) As Vector2
public:
static Vector2 NearestPointToCircle(
Circle^ circle,
Vector2 point
)
static member NearestPointToCircle :
circle : Circle *
point : Vector2 -> Vector2
STATIC METHOD NearestPointToCircle(
circle AS Circle,
point AS Vector2
) AS Vector2
Parameters
- circle
- Type: DXFReaderNET.EntitiesCircle
The circle - point
- Type: DXFReaderNETVector2
The given point
Return Value
Type:
Vector2The nearest point on circle to a given point
See Also