Click or drag to resize

MathHelperPointOnArcSegment Method

Checks if a point is inside an arc segment.

Namespace:  DXFReaderNET
Assembly:  DXFReaderNET (in DXFReaderNET.dll) Version: 20.10.54
Syntax
public static bool PointOnArcSegment(
	Vector2 Center,
	double Radius,
	double StartAngle,
	double EndAngle,
	Vector2 p
)

Parameters

Center
Type: DXFReaderNETVector2
The center of the arc
Radius
Type: SystemDouble
Radius of the arc in drawing's units
StartAngle
Type: SystemDouble
Start angle, in degrees, of the arc.
EndAngle
Type: SystemDouble
End angle, in degrees, of the arc.
p
Type: DXFReaderNETVector2
A point.

Return Value

Type: Boolean
True if the point is inside the arc segment.
See Also