Documentation
Reference
2.1.50 (current version)
collection
interactivityModel
Interfaces

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

NameTypeDescription
eventsIEventManager

Event manager.

Inherited from IEventEmitter.

Methods

NameReturnsDescription
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:

ParameterDefault valueDescription
nextVertex*
[no-highlight[

* Mandatory parameter/option.

]no-highlight]

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:

ParameterDefault valueDescription
prevVertex*
[no-highlight[

* Mandatory parameter/option.

]no-highlight]

Type: geometryEditor.model.ChildVertex|null

Model for the previous vertex.

* Mandatory parameter/option.