Table of Contents

Class AUnits

Namespace
VectorDraw.Geometry
Assembly
VectorDraw.Geometry.dll

Implements all functionality for presentation of angular units.

public class AUnits : BaseObject, IDisposable, IBaseObject, IVDSerialise, ICloneable, IFromString
Inheritance
AUnits
Implements
Inherited Members

Constructors

AUnits()

Initializes the AUnits object.

AUnits(AUnitType, short, AZeroSuppression)

Initializes the AUnits object.

Fields

DefaultTypeConverter

The defualt units used to convert no document register objects from string angle to double.

Properties

AngleBase

Returns and sets where the direction start angle is in radians.

Direction

Get/Set the setting for clockwise or counterclockwise angle direction.

Precision

Represents the decimal precision for angular units.

UType

Represents the angular units type.

ZerosSuppression

Represents the zerro suppression type for angular units.

Methods

AngleFromString(string)

Converts a string representing an angle into it's double representation.

AsRadians(double)

Convert input value to Radians depend the selected VectorDraw.Geometry.AUnits.type

Clone()

Creates a clone of this object

DeSerialize(DeSerializer, string, object)

This Function is called foreach field name of the AUnits object when opening in vdml format.

FormatAngle(double)

Formats an angle double value in radians into it's sring representation.

FormatAngle(double, short, AZeroSuppression)

Formats an angle double value in radians into it's sring representation using the passed precision and zerro suppression.

FromString(string)

Sets the property values of the object from a given string.

Serialize(Serializer)

This Function is called when saving the AUnits object to vdml format.

ToString()

Gets an empty System.String.

ToString(Serializer)

Sets the object's properties using a ToString string, according to the Serializer precision