Method TryAngle
- Namespace
- OpenCAD2D
- Assembly
- OpenCAD2D.Core.dll
TryAngle(string, int, out double)
Reads an angle typed in a drawing's units, as AutoCAD reads one: a number in the units of AUNITS (degrees, grads or radians), or with its own mark, 45d30'15", 50g, 0.7854r, or a bearing, N 45d E.
public static bool TryAngle(string text, int aunits, out double radians)
Parameters
textstringThe text typed.
aunitsintAUNITS.
radiansdoubleThe angle, in radians, measured from east, counter-clockwise.
Returns
- bool
Whether it read.