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