Class ConstructAction.DefaultGeoVector
- Namespace
- CADability.Actions
- Assembly
- CADability.dll
A DefaultGeoVector object is usually used in conjunction with a ConstructAction.GeoVectorInput object (see DefaultGeoVector). 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 point input is locked, the value is saved in the corresponding DefaultGeoVector object. DefaultGeoVector objects are usually static in a ConstructAction to preserve that value from one instance of the action to the next instance.
public class ConstructAction.DefaultGeoVector
- Inheritance
-
ConstructAction.DefaultGeoVector
- Inherited Members
Constructors
DefaultGeoVector()
Creates an uninitialized DefaultGeoVector
public DefaultGeoVector()
DefaultGeoVector(StartDirection, StartLength)
Creates an uninitialized DefaultGeoVector with a description how to initialize.
public DefaultGeoVector(ConstructAction.DefaultGeoVector.StartDirection startDirection, ConstructAction.DefaultGeoVector.StartLength startLength)
Parameters
startDirectionConstructAction.DefaultGeoVector.StartDirectioninitial direction
startLengthConstructAction.DefaultGeoVector.StartLengthinitial length
Fields
Locked
Locked if true. A locked input is considered fixed (see Fixed)
public bool Locked
Field Value
Properties
Vector
Returns or sets the current value
public GeoVector Vector { get; set; }
Property Value
Operators
implicit operator GeoVector(DefaultGeoVector)
converts to a GeoVector
public static implicit operator GeoVector(ConstructAction.DefaultGeoVector dgv)
Parameters
dgvConstructAction.DefaultGeoVectorconvert this