IGeometryEditor

Extends ICustomizable, IEventEmitter.

Interface for the geometry editor.

Constructor | Fields | Events | Methods

Constructor

IGeometryEditor()

Fields

Name Type Description
events IEventManager

Event manager.

Inherited from IEventEmitter.

geometry IGeometry

The geometry being edited.

options IOptionManager

Options manager.

Inherited from ICustomizable.

state IDataManager

State of the geometry editor.

Events

Name Description
optionschange

Change to the object options.

Inherited from ICustomizable.

statechange

Change to the geometry editor state. Instance of the Event class.

Methods

Name Description
startEditing()

Enables editing mode.

stopEditing()

Disables editing mode.

Fields details

geometry

{IGeometry} geometry

The geometry being edited.

state

{IDataManager} state

State of the geometry editor.

Events details

statechange

Change to the geometry editor state. Instance of the Event class.

Methods details

startEditing

{} startEditing()

Enables editing mode.

stopEditing

{} stopEditing()

Disables editing mode.