geometryEditor.model.Edge
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
Name | Type | Description |
---|---|---|
events | IEventManager | Event manager. Inherited from IEventEmitter. |
Name | Type | Description |
---|---|---|
events | IEventManager | Event manager. Inherited from IEventEmitter. |
Methods
Name | Returns | Description |
---|---|---|
destroy() | Destructor. Inherited from IGeometryEditorModel. | |
getNextVertex() | Returns a reference to the model for the next vertex. | |
getPixels() | Number[] | Returns the model's pixel data. Inherited from IGeometryEditorModel. |
getPrevVertex() | 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. |
Name | Returns | Description |
---|---|---|
destroy() | Destructor. Inherited from IGeometryEditorModel. | |
getNextVertex() | Returns a reference to the model for the next vertex. | |
getPixels() | Number[] | Returns the model's pixel data. Inherited from IGeometryEditorModel. |
getPrevVertex() | 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. |
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. |
Parameter | Default value | Description |
---|---|---|
prevVertex * | — | Type: geometryEditor.model.ChildVertex|null Model for the previous vertex. |
* Mandatory parameter/option.