Show / Hide Table of Contents

Class ConstructAction.DefaultGeoVector

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.

Inheritance
System.Object
ConstructAction.DefaultGeoVector
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 DefaultGeoVector

Constructors

| Improve this Doc View Source

DefaultGeoVector()

Creates an uninitialized DefaultGeoVector

Declaration
public DefaultGeoVector()
| Improve this Doc View Source

DefaultGeoVector(ConstructAction.DefaultGeoVector.StartDirection, ConstructAction.DefaultGeoVector.StartLength)

Creates an uninitialized DefaultGeoVector with a description how to initialize.

Declaration
public DefaultGeoVector(ConstructAction.DefaultGeoVector.StartDirection startDirection, ConstructAction.DefaultGeoVector.StartLength startLength)
Parameters
Type Name Description
ConstructAction.DefaultGeoVector.StartDirection startDirection

initial direction

ConstructAction.DefaultGeoVector.StartLength startLength

initial length

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

Vector

Returns or sets the current value

Declaration
public GeoVector Vector { get; set; }
Property Value
Type Description
GeoVector

Operators

| Improve this Doc View Source

Implicit(ConstructAction.DefaultGeoVector to GeoVector)

converts to a GeoVector

Declaration
public static implicit operator GeoVector(ConstructAction.DefaultGeoVector dgv)
Parameters
Type Name Description
ConstructAction.DefaultGeoVector dgv

convert this

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