Show / Hide Table of Contents

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.

Inheritance
System.Object
Action
GeneralGeoPointAction
Implements
ICommandHandler
Inherited Members
Action.MenuId
Action.IgnoreForSnap
Action.ViewType
Action.OnlyThisModel
Action.OnlyThisView
Action.IsActive
Action.CurrentMouseView
Action.UseFilter
Action.WorksOnLayoutView
Action.OnDisplayChanged(DisplayChangeArg)
Action.OnViewsChanged()
Action.OnMouseEnter(EventArgs, IView)
Action.OnMouseHover(EventArgs, IView)
Action.OnMouseLeave(EventArgs, IView)
Action.OnMouseWheel(MouseEventArgs, IView)
Action.OnDelete()
Action.OnEnter(Object)
Action.OnEscape(Object)
Action.OnDelete(Object)
Action.OnTab(Object)
Action.AutoRepeat()
Action.AutoRepeated()
Action.Frame
Action.FeedBack
Action.AutoCursor
Action.ChangeTabInControlCenter
Action.SetCursor(SnapPointFinder.DidSnapModes, IView)
Action.SetCursor(SnapPointFinder.DidSnapModes, String)
Action.WorldPoint(Point)
Action.WorldPoint(MouseEventArgs, IView)
Action.WorldPoint(GeoPoint2D)
Action.SnapPoint(MouseEventArgs, IView, SnapPointFinder.DidSnapModes)
Action.SnapPoint(MouseEventArgs, GeoPoint, IView, SnapPointFinder.DidSnapModes)
Action.WorldLength(Double)
Action.WorldDirection(Angle)
Action.ActiveDrawingPlane
Action.CurveHitTest(ICurve, Point)
Action.GetObjectsUnderCursor(Point)
Action.CurrentMousePosition
Action.RemoveThisAction()
Action.PreviousAction
Action.OnCommand(String)
Action.OnUpdateCommand(String, CommandState)
Action.OnSelected(MenuWithHandler, Boolean)
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 GeneralGeoPointAction : Action, ICommandHandler

Constructors

| Improve this Doc View Source

GeneralGeoPointAction(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

| Improve this Doc View Source

GeneralGeoPointAction(GeoPoint, IGeoObject)

Declaration
public GeneralGeoPointAction(GeoPoint initialGeoPointValue, IGeoObject ignoreSnap)
Parameters
Type Name Description
GeoPoint initialGeoPointValue
IGeoObject ignoreSnap
| Improve this Doc View Source

GeneralGeoPointAction(GeoPointProperty)

Declaration
public GeneralGeoPointAction(GeoPointProperty GeoPointProperty)
Parameters
Type Name Description
GeoPointProperty GeoPointProperty
| Improve this Doc View Source

GeneralGeoPointAction(GeoPointProperty, IGeoObject)

Declaration
public GeneralGeoPointAction(GeoPointProperty GeoPointProperty, IGeoObject ignoreSnap)
Parameters
Type Name Description
GeoPointProperty GeoPointProperty
IGeoObject ignoreSnap

Fields

| Improve this Doc View Source

basePoint

Declaration
protected GeoPoint basePoint
Field Value
Type Description
GeoPoint
| Improve this Doc View Source

GeoPointProperty

Declaration
public GeoPointProperty GeoPointProperty
Field Value
Type Description
GeoPointProperty
| Improve this Doc View Source

UserData

Declaration
public UserData UserData
Field Value
Type Description
UserData

Methods

| Improve this Doc View Source

GetID()

Implements GetID().

Declaration
public override string GetID()
Returns
Type Description
System.String
Overrides
Action.GetID()
| Improve this Doc View Source

GetMousePlane(IView)

Declaration
protected virtual Plane GetMousePlane(IView vw)
Parameters
Type Name Description
IView vw
Returns
Type Description
Plane
| Improve this Doc View Source

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
Action.OnActivate(Action, Boolean)
| Improve this Doc View Source

OnEnter()

Overrides OnEnter()

Declaration
public override bool OnEnter()
Returns
Type Description
System.Boolean
Overrides
Action.OnEnter()
| Improve this Doc View Source

OnEscape()

Overrides OnEscape()

Declaration
public override bool OnEscape()
Returns
Type Description
System.Boolean
Overrides
Action.OnEscape()
| Improve this Doc View Source

OnInactivate(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

Action.OnInactivate.NewActiveAction.OnInactivate.NewActiveAction

System.Boolean RemovingAction

Action.OnInactivate.RemovingAction.OnInactivate.RemovingAction

Overrides
Action.OnInactivate(Action, Boolean)
| Improve this Doc View Source

OnMouseDown(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

Action.OnMouseDown.e.OnMouseDown.e

IView vw

Action.OnMouseDown.vw.OnMouseDown.vw

Overrides
Action.OnMouseDown(MouseEventArgs, IView)
| Improve this Doc View Source

OnMouseMove(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

Action.OnMouseMove.e.OnMouseMove.e

IView vw

Action.OnMouseMove.vw.OnMouseMove.vw

Overrides
Action.OnMouseMove(MouseEventArgs, IView)
| Improve this Doc View Source

OnMouseUp(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

Action.OnMouseUp.e.OnMouseUp.e

IView vw

Action.OnMouseUp.vw.OnMouseUp.vw

Overrides
Action.OnMouseUp(MouseEventArgs, IView)
| Improve this Doc View Source

OnRemoveAction()

Overrides OnRemoveAction()

Declaration
public override void OnRemoveAction()
Overrides
Action.OnRemoveAction()
| Improve this Doc View Source

OnSetAction()

Implements OnSetAction(). If you override this method don't forget to call the bas implementation.

Declaration
public override void OnSetAction()
Overrides
Action.OnSetAction()

Events

| Improve this Doc View Source

ActionDoneEvent

Declaration
public event GeneralGeoPointAction.ActionDoneDelegate ActionDoneEvent
Event Type
Type Description
GeneralGeoPointAction.ActionDoneDelegate
| Improve this Doc View Source

SetGeoPointEvent

Declaration
public event GeneralGeoPointAction.SetGeoPointDelegate SetGeoPointEvent
Event Type
Type Description
GeneralGeoPointAction.SetGeoPointDelegate

Implements

ICommandHandler
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX