Class GeneralGeoPointAction
Simple Action to modify a GeoPoint by moving the mouse. The modification will start imediately after the action is set and will terminate when the mouse button is released or enter or escape is pressed.
Implements
Inherited Members
Namespace: CADability.Actions
Assembly: CADability.dll
Syntax
public class GeneralGeoPointAction : Action, ICommandHandler
Constructors
| Improve this Doc View SourceGeneralGeoPointAction(GeoPoint)
Constructs a GeneralGeoPointAction giving the initial Value of the point. This value will be used in the SetGeoPointEvent when the user presses ESC
Declaration
public GeneralGeoPointAction(GeoPoint initialGeoPointValue)
Parameters
| Type | Name | Description |
|---|---|---|
| GeoPoint | initialGeoPointValue | initial value of the GeoPoint |
GeneralGeoPointAction(GeoPoint, IGeoObject)
Declaration
public GeneralGeoPointAction(GeoPoint initialGeoPointValue, IGeoObject ignoreSnap)
Parameters
| Type | Name | Description |
|---|---|---|
| GeoPoint | initialGeoPointValue | |
| IGeoObject | ignoreSnap |
GeneralGeoPointAction(GeoPointProperty)
Declaration
public GeneralGeoPointAction(GeoPointProperty GeoPointProperty)
Parameters
| Type | Name | Description |
|---|---|---|
| GeoPointProperty | GeoPointProperty |
GeneralGeoPointAction(GeoPointProperty, IGeoObject)
Declaration
public GeneralGeoPointAction(GeoPointProperty GeoPointProperty, IGeoObject ignoreSnap)
Parameters
| Type | Name | Description |
|---|---|---|
| GeoPointProperty | GeoPointProperty | |
| IGeoObject | ignoreSnap |
Fields
| Improve this Doc View SourcebasePoint
Declaration
protected GeoPoint basePoint
Field Value
| Type | Description |
|---|---|
| GeoPoint |
GeoPointProperty
Declaration
public GeoPointProperty GeoPointProperty
Field Value
| Type | Description |
|---|---|
| GeoPointProperty |
UserData
Declaration
public UserData UserData
Field Value
| Type | Description |
|---|---|
| UserData |
Methods
| Improve this Doc View SourceGetID()
Implements GetID().
Declaration
public override string GetID()
Returns
| Type | Description |
|---|---|
| System.String |
Overrides
| Improve this Doc View SourceGetMousePlane(IView)
Declaration
protected virtual Plane GetMousePlane(IView vw)
Parameters
| Type | Name | Description |
|---|---|---|
| IView | vw |
Returns
| Type | Description |
|---|---|
| Plane |
OnActivate(Action, Boolean)
Implements OnActivate(Action, Boolean). If you override this method don't forget to call the bas implementation.
Declaration
public override void OnActivate(Action OldActiveAction, bool SettingAction)
Parameters
| Type | Name | Description |
|---|---|---|
| Action | OldActiveAction | |
| System.Boolean | SettingAction |
Overrides
| Improve this Doc View SourceOnEnter()
Overrides OnEnter()
Declaration
public override bool OnEnter()
Returns
| Type | Description |
|---|---|
| System.Boolean |
Overrides
| Improve this Doc View SourceOnEscape()
Overrides OnEscape()
Declaration
public override bool OnEscape()
Returns
| Type | Description |
|---|---|
| System.Boolean |
Overrides
| Improve this Doc View SourceOnInactivate(Action, Boolean)
Implements OnInactivate(Action, Boolean). If you override this method don't forget to call the bas implementation.
Declaration
public override void OnInactivate(Action NewActiveAction, bool RemovingAction)
Parameters
| Type | Name | Description |
|---|---|---|
| Action | NewActiveAction |
|
| System.Boolean | RemovingAction |
|
Overrides
| Improve this Doc View SourceOnMouseDown(MouseEventArgs, IView)
Implements OnMouseDown(MouseEventArgs, IView). If you override this method don't forget to call the bas implementation.
Declaration
public override void OnMouseDown(MouseEventArgs e, IView vw)
Parameters
| Type | Name | Description |
|---|---|---|
| MouseEventArgs | e |
|
| IView | vw |
|
Overrides
| Improve this Doc View SourceOnMouseMove(MouseEventArgs, IView)
Implements OnMouseMove(MouseEventArgs, IView). If you override this method don't forget to call the bas implementation.
Declaration
public override void OnMouseMove(MouseEventArgs e, IView vw)
Parameters
| Type | Name | Description |
|---|---|---|
| MouseEventArgs | e |
|
| IView | vw |
|
Overrides
| Improve this Doc View SourceOnMouseUp(MouseEventArgs, IView)
Implements OnMouseUp(MouseEventArgs, IView). If you override this method don't forget to call the bas implementation.
Declaration
public override void OnMouseUp(MouseEventArgs e, IView vw)
Parameters
| Type | Name | Description |
|---|---|---|
| MouseEventArgs | e |
|
| IView | vw |
|
Overrides
| Improve this Doc View SourceOnRemoveAction()
Overrides OnRemoveAction()
Declaration
public override void OnRemoveAction()
Overrides
| Improve this Doc View SourceOnSetAction()
Implements OnSetAction(). If you override this method don't forget to call the bas implementation.
Declaration
public override void OnSetAction()
Overrides
Events
| Improve this Doc View SourceActionDoneEvent
Declaration
public event GeneralGeoPointAction.ActionDoneDelegate ActionDoneEvent
Event Type
| Type | Description |
|---|---|
| GeneralGeoPointAction.ActionDoneDelegate |
SetGeoPointEvent
Declaration
public event GeneralGeoPointAction.SetGeoPointDelegate SetGeoPointEvent
Event Type
| Type | Description |
|---|---|
| GeneralGeoPointAction.SetGeoPointDelegate |