MathHelperDistanceFromArc Method
|
Returns the distance of a point from an arc.
Namespace:
DXFReaderNET
Assembly:
DXFReaderNET (in DXFReaderNET.dll) Version: 20.10.54
Syntax public static double DistanceFromArc(
Vector2 Position,
Vector2 ArcCenter,
double ArcRadius,
double ArcStartAngle,
double ArcEndAngle
)
Public Shared Function DistanceFromArc (
Position As Vector2,
ArcCenter As Vector2,
ArcRadius As Double,
ArcStartAngle As Double,
ArcEndAngle As Double
) As Double
public:
static double DistanceFromArc(
Vector2 Position,
Vector2 ArcCenter,
double ArcRadius,
double ArcStartAngle,
double ArcEndAngle
)
static member DistanceFromArc :
Position : Vector2 *
ArcCenter : Vector2 *
ArcRadius : float *
ArcStartAngle : float *
ArcEndAngle : float -> float
STATIC METHOD DistanceFromArc(
Position AS Vector2,
ArcCenter AS Vector2,
ArcRadius AS REAL8,
ArcStartAngle AS REAL8,
ArcEndAngle AS REAL8
) AS REAL8
Parameters
- Position
- Type: DXFReaderNETVector2
The point position - ArcCenter
- Type: DXFReaderNETVector2
The arc center. - ArcRadius
- Type: SystemDouble
The arc radius. - ArcStartAngle
- Type: SystemDouble
The arc start angle. - ArcEndAngle
- Type: SystemDouble
The arc end angle.
Return Value
Type:
DoubleThe distance of the point position from angle
See Also