Show / Hide Table of Contents

Class ConstructAction.DefaultAngle

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.

Inheritance
System.Object
ConstructAction.DefaultAngle
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: CADability.Actions
Assembly: CADability.dll
Syntax
public class DefaultAngle

Constructors

| Improve this Doc View Source

DefaultAngle()

Creates an uninitialized DefaultAngle

Declaration
public DefaultAngle()
| Improve this Doc View Source

DefaultAngle(ConstructAction.DefaultAngle.StartValue)

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

Declaration
public DefaultAngle(ConstructAction.DefaultAngle.StartValue sw)
Parameters
Type Name Description
ConstructAction.DefaultAngle.StartValue sw

how to initilize

Fields

| Improve this Doc View Source

Locked

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

Declaration
public bool Locked
Field Value
Type Description
System.Boolean

Properties

| Improve this Doc View Source

Angle

returns the Angle

Declaration
public Angle Angle { get; set; }
Property Value
Type Description
Angle

Operators

| Improve this Doc View Source

Implicit(ConstructAction.DefaultAngle to Angle)

Converts to an Angle

Declaration
public static implicit operator Angle(ConstructAction.DefaultAngle da)
Parameters
Type Name Description
ConstructAction.DefaultAngle da

convert this

Returns
Type Description
Angle
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX