CADability dotNET

Base class for construct actions.

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

Constructors

  NameDescription
Public methodConstructAction..::..AngleInput(String)
Constructs an AngleInput.
Public methodConstructAction..::..AngleInput(String, Angle)
Constructs an AngleInput.

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 methodSetAngleFromLine
Sets the line as a basis for the calculation of the angle. The calculated angle is the angle of line from the startPoint to the mouseposition with the line from the startPoint to the endPoint.
Public methodSetAngleFromPlane
Sets the given plane as a basis for the calculation of the angle. The calculated angle is the angle of the mouseposition relative to the X-axis of this plane.

Properties

  NameDescription
Public propertyDefaultAngle
Sets a DefaultAngle, which should be a static value, that carries the last input value of this length 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 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 eventCalculateAngleEvent
Provide a method here, if you want to calculate the angle yourself, i.e. if distance from point, line or plane is not appropriate to your needs.
Public eventGetAngleEvent
Provide a method here, if the angle 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 AngleInput has the focus.
Public eventSetAngleEvent
Provide a method here to get the result of this input (and modify your object)

See Also