Show / Hide Table of Contents

Class GeneralGeoVectorAction

Simple Action to modify a GeoVector. This action doesn't set up an own ControlCenter entry but assumes there is a GeoVectorProperty entry active in the ControlCenter.

Inheritance
System.Object
Action
GeneralGeoVectorAction
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.OnMouseDown(MouseEventArgs, IView)
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 GeneralGeoVectorAction : Action, ICommandHandler

Constructors

| Improve this Doc View Source

GeneralGeoVectorAction(GeoVectorProperty, GeoPoint)

Constructs a GeneralGeoVectorAction to modify the provided GeoVectorProperty

Declaration
public GeneralGeoVectorAction(GeoVectorProperty ToModify, GeoPoint basePoint)
Parameters
Type Name Description
GeoVectorProperty ToModify

Property to modify

GeoPoint basePoint

A basePoint for the modification

| Improve this Doc View Source

GeneralGeoVectorAction(GeoVectorProperty, GeoPoint, IGeoObject)

Declaration
public GeneralGeoVectorAction(GeoVectorProperty ToModify, GeoPoint basePoint, IGeoObject ignoreSnap)
Parameters
Type Name Description
GeoVectorProperty ToModify
GeoPoint basePoint
IGeoObject ignoreSnap

Fields

| Improve this Doc View Source

UserData

UserData to differentiate between multiple GeneralGeoVectorActions.

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

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

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

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

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

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

SetGeoVectorEvent

Event beeing called when the property changes. You don't need to specify a handler here because GeoVectorProperty.SetGeoVector is beeing called.

Declaration
public event GeneralGeoVectorAction.SetGeoVectorDelegate SetGeoVectorEvent
Event Type
Type Description
GeneralGeoVectorAction.SetGeoVectorDelegate

Implements

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