Click or drag to resize

GenericSPGetAngle Method

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)
Syntax
protected virtual double GetAngle(
	double X1,
	double Y1,
	double X2,
	double Y2
)

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: Double
The angle of the vector.
See Also