selectVertex

fun selectVertex(partIndex: Int, vertexIndex: Int)

Selects the vertex with the specified indices. When a vertex is selected it can be edited while all other vertices of the geometry are unchanged. For example, you can move only the selected vertex interactively by dragging, or call GeometryEditor.moveSelectedElement(Point) or GeometryEditor.moveSelectedElement(Double, Double) to move the selected vertex programmatically.

When a vertex is selected, a GeometryEditorVertex is returned from GeometryEditor.selectedElement.

Since

200.1.0

See also

Throws

if the geometry editor is not started

if any of the given indices are out of range for the current geometry