CADability dotNET
Base class for construct actions.
The ConstructAction..::..AngleInput type exposes the following members.
Constructors
Name | Description | |
---|---|---|
ConstructAction..::..AngleInput(String) |
Constructs an AngleInput.
| |
ConstructAction..::..AngleInput(String, Angle) |
Constructs an AngleInput.
|
Methods
Name | Description | |
---|---|---|
AdjustHighlight | (Overrides ConstructAction..::..InputObject..::..AdjustHighlight()()()().) | |
ForceValue |
Forces the input object to the specified value. The input filed is updated accordingly.
| |
SetAngleFromLine |
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.
| |
SetAngleFromPlane |
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
Name | Description | |
---|---|---|
DefaultAngle |
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.
| |
ForwardMouseInputTo |
Mouse input should be forwarded to another input object and only processed
by this input, when the other input object is fixed.
| |
ReadOnly |
true: this input field does not accept user input,
false: normal input field that requires user input
(Overrides ConstructAction..::..InputObject..::..ReadOnly.) |
Events
Name | Description | |
---|---|---|
CalculateAngleEvent |
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.
| |
GetAngleEvent |
Provide a method here, if the angle not only depends from this input, but is also
modified by other means.
| |
MouseClickEvent |
Event that is fired when a mousclick happens and this AngleInput has the focus.
| |
SetAngleEvent |
Provide a method here to get the result of this input (and modify your object)
|