geometryEditor.model.Edge

Note. The constructor of the geometryEditor.model.Edge class is hidden, as this class is not intended for autonomous initialization.

Extends IGeometryEditorRootModel.

Interim placemark model. The constructor is not available in the package.full (a standard set of modules). This module is loaded on demand.

Fields | Methods

Fields

Name Type Description
events IEventManager

Event manager.

Inherited from IEventEmitter.

Methods

Name Returns Description
destroy()

Destructor.

Inherited from IGeometryEditorModel.

getNextVertex()

geometryEditor.model.ChildVertex|null

Returns a reference to the model for the next vertex.

getPixels()

Number[]

Returns the model's pixel data.

Inherited from IGeometryEditorModel.

getPrevVertex()

geometryEditor.model.ChildVertex|null

Returns a reference to the model for the previous vertex.

setNextVertex(nextVertex)

Sets the reference to the model for the next vertex.

setPrevVertex(prevVertex)

Sets the reference to the model for the previous vertex.

Methods details

getNextVertex

{geometryEditor.model.ChildVertex|null} getNextVertex()

Returns a reference to the model for the next vertex.

getPrevVertex

{geometryEditor.model.ChildVertex|null} getPrevVertex()

Returns a reference to the model for the previous vertex.

setNextVertex

{} setNextVertex(nextVertex)

Sets the reference to the model for the next vertex.

Parameters:

Parameter Default value Description
nextVertex *

Type: geometryEditor.model.ChildVertex|null

Model for the next vertex.

* Mandatory parameter/option.

setPrevVertex

{} setPrevVertex(prevVertex)

Sets the reference to the model for the previous vertex.

Parameters:

Parameter Default value Description
prevVertex *

Type: geometryEditor.model.ChildVertex|null

Model for the previous vertex.

* Mandatory parameter/option.