CADability dotNET

Base class for construct actions.

The ConstructAction..::..GeoVectorInput type exposes the following members.

Constructors

  NameDescription
Public methodConstructAction..::..GeoVectorInput(String)
Constructs a LengthInput object.
Public methodConstructAction..::..GeoVectorInput(String, GeoVector)
Constructs a LengthInput object with an initial value

Methods

  NameDescription
Protected methodAdjustHighlight (Overrides ConstructAction..::..InputObject..::..AdjustHighlight()()()().)
Public methodForceValue
Forces the input object to the specified value. The input filed is updated accordingly.
Public methodSetVectorFromPoint
Sets the point as a basis for the calculation of the vector. The calculated vector is the vector from this point to the mouseposition.

Properties

  NameDescription
Public propertyDefaultGeoVector
Sets a DefaultGeoVector, which should be a static value, that carries the last input value of this vector to the next instantiation of the action.
Public propertyForwardMouseInputTo
Mouse input should be forwarded to another input object and only processed by this input, when the other input object is fixed.
Public propertyIsAngle
Public propertyPlaneForAngle
Defines the plane in which the angle should be computed. The input point will be projected into this plane and the Angle to the x-axis will be used as the input
Public propertyReadOnly
true: this input field does not accept user input, false: normal input field that requires user input
(Overrides ConstructAction..::..InputObject..::..ReadOnly.)

Events

  NameDescription
Public eventCalculateGeoVectorEvent
Provide a method here, if you want to calculate the vector yourself, i.e. if vector from point, line or plane is not appropriate to your needs.
Public eventGetGeoVectorEvent
Provide a method here, if the vector not only depends from this input, but is also modified by other means.
Public eventMouseClickEvent
Event that is fired when a mousclick happens and this input has the focus.
Public eventSetGeoVectorEvent
Provide a method here to get the result of this input (and modify your object)

See Also