Method CountAngle
- Namespace
- OpenCAD2D
- Assembly
- OpenCAD2D.Core.dll
CountAngle(double)
Counts a direction as the drawing counts angles, for a readout or a default in angle brackets: from ANGBASE, clockwise with ANGDIR 1, from nought up to a whole turn, as AutoCAD's DIST writes 90 for a line drawn east in a drawing whose angles are counted from north, clockwise.
public double CountAngle(double direction)
Parameters
directiondoubleThe direction, in radians counter-clockwise from the X axis of the UCS.
Returns
- double
The angle counted, in radians.