Table of Contents

Class ConstructAction.DefaultAngle

Namespace
CADability.Actions
Assembly
CADability.dll

A DefaultAngle object is usually used in conjunction with a ConstructAction.AngleInput object (see DefaultAngle). It specifies a default value for the input field as long as the user didn't specify that input via keybord or mouse. When the angle input is locked, the value is saved in the corresponding DefaultAngle object. DefaultAngle objects are usually static in a ConstructAction to preserve that value from one instance of the action to the next instance.

public class ConstructAction.DefaultAngle
Inheritance
ConstructAction.DefaultAngle
Inherited Members

Constructors

DefaultAngle()

Creates an uninitialized DefaultAngle

public DefaultAngle()

DefaultAngle(StartValue)

Creates an uninitialized DefaultAngle object with a definition how to initialize upon first usage.

public DefaultAngle(ConstructAction.DefaultAngle.StartValue sw)

Parameters

sw ConstructAction.DefaultAngle.StartValue

how to initilize

Fields

Locked

Locked if true. A locked input is considered fixed (see Fixed)

public bool Locked

Field Value

bool

Properties

Angle

returns the Angle

public Angle Angle { get; set; }

Property Value

Angle

Operators

implicit operator Angle(DefaultAngle)

Converts to an Angle

public static implicit operator Angle(ConstructAction.DefaultAngle da)

Parameters

da ConstructAction.DefaultAngle

convert this

Returns

Angle