Table of Contents

Class ConstructPlaneOriginNormalPoint

Namespace
CADability.Actions
Assembly
CADability.dll

Intermediate construction of a Plane from its origin and a second point: the vector from the origin to that point is the normal of the plane. It is started by the plane input of another construction action (see IIntermediateConstruction), e.g. when a new drawing plane is defined, and shows the plane as a feedback rectangle around the mouse position while the points are entered. The result is available in ConstructedPlane once both points are fixed, and PlaneChangedEvent reports every change. The action does not auto-repeat. Started with the action id "Construct.Plane.OriginNormalPoint" (menu command "MenuId.Plane.OriginNormalPoint").

public class ConstructPlaneOriginNormalPoint : ConstructAction, ICommandHandler, IPropertyEntry, IIntermediateConstruction
Inheritance
ConstructPlaneOriginNormalPoint
Implements
Inherited Members

Constructors

ConstructPlaneOriginNormalPoint()

public ConstructPlaneOriginNormalPoint()

Properties

ConstructedPlane

public Plane ConstructedPlane { get; }

Property Value

Plane

Methods

AutoRepeat()

Detremins whether this action supports autorepeat. Autorepeat is enabled in the GlobalSettings.

public override bool AutoRepeat()

Returns

bool

GetID()

Must be implemented by derived class. Returns an identification string. All CADability actions return the unique strings like "Draw.Line.TwoPoints" or "Zoom"

public override string GetID()

Returns

string

the identification of the action

OnSetAction()

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

public override void OnSetAction()

Events

PlaneChangedEvent

public event ConstructPlaneOriginNormalPoint.PlaneChangedDelegate PlaneChangedEvent

Event Type

ConstructPlaneOriginNormalPoint.PlaneChangedDelegate