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
)
Public Shared Function PointOnArcSegment (
Center As Vector2,
Radius As Double,
StartAngle As Double,
EndAngle As Double,
p As Vector2
) As Boolean
public:
static bool PointOnArcSegment(
Vector2 Center,
double Radius,
double StartAngle,
double EndAngle,
Vector2 p
)
static member PointOnArcSegment :
Center : Vector2 *
Radius : float *
StartAngle : float *
EndAngle : float *
p : Vector2 -> bool
STATIC METHOD PointOnArcSegment(
Center AS Vector2,
Radius AS REAL8,
StartAngle AS REAL8,
EndAngle AS REAL8,
p AS Vector2
) AS LOGIC
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:
BooleanTrue if the point is inside the arc segment.
See Also