Calculates the angle of a vector anticlockwise from 3 o'clock.
Namespace:
Cadcorp.GFB.CadcorpSP
Assembly:
Cadcorp.GFB.GenericStoredProcedures (in Cadcorp.GFB.GenericStoredProcedures.dll) Version: 9.0.2618.0 (9.0.2618.0)
Syntaxprotected virtual double GetAngle(
double X1,
double Y1,
double X2,
double Y2
)
Protected Overridable Function GetAngle (
X1 As Double,
Y1 As Double,
X2 As Double,
Y2 As Double
) As Double
Parameters
- X1
- Type: SystemDouble
X coordinate of the vector start. - Y1
- Type: SystemDouble
Y coordinate of the vector start. - X2
- Type: SystemDouble
X coordinate of the vector end. - Y2
- Type: SystemDouble
Y coordinate of the vector end.
Return Value
Type:
DoubleThe angle of the vector.
See Also