---
metadata:
  - name: generator
    content: Diplodoc Platform v5.39.1
alternate:
  - https://yandex.com/dev/jsapi-v2-1/doc/en/v2-1/ref/reference/geometryEditor.model.ChildLinearRing.md
  - https://yandex.com/dev/jsapi-v2-1/doc/ru/v2-1/ref/reference/geometryEditor.model.ChildLinearRing.md
---
> **Documentation Index:** Fetch the complete configuration index at https://yandex.com/dev/jsapi-v2-1/doc/en/llms.txt

# geometryEditor.model.ChildLinearRing

{% note info %}

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

{% endnote %}

Extends [geometryEditor.model.ChildLineString](https://yandex.com/dev/jsapi-v2-1/doc/en/v2-1/ref/reference/geometryEditor.model.ChildLineString.md).

Model for a child closed contour. The constructor is not available in the package.full (a standard set of modules). This module is loaded on demand.

[Fields](#properties-summary) | [Methods](#methods-summary)

## Fields {#properties-summary}

#|
|| **Name** | **Type** | **Description** ||
|| [editor](https://yandex.com/dev/jsapi-v2-1/doc/en/v2-1/ref/reference/IGeometryEditorChildModel.md#editor) | [IGeometryEditor](https://yandex.com/dev/jsapi-v2-1/doc/en/v2-1/ref/reference/IGeometryEditor.md)| Geometry editor.

Inherited from [IGeometryEditorChildModel](https://yandex.com/dev/jsapi-v2-1/doc/en/v2-1/ref/reference/IGeometryEditorChildModel.md#editor). ||
|| [events](https://yandex.com/dev/jsapi-v2-1/doc/en/v2-1/ref/reference/IEventEmitter.md#events) | [IEventManager](https://yandex.com/dev/jsapi-v2-1/doc/en/v2-1/ref/reference/IEventManager.md)| Event manager.

Inherited from [IEventEmitter](https://yandex.com/dev/jsapi-v2-1/doc/en/v2-1/ref/reference/IEventEmitter.md#events). ||
|| [geometry](https://yandex.com/dev/jsapi-v2-1/doc/en/v2-1/ref/reference/IGeometryEditorChildModel.md#geometry) | [IBaseGeometry](https://yandex.com/dev/jsapi-v2-1/doc/en/v2-1/ref/reference/IBaseGeometry.md)| Geometry of the model.

Inherited from [IGeometryEditorChildModel](https://yandex.com/dev/jsapi-v2-1/doc/en/v2-1/ref/reference/IGeometryEditorChildModel.md#geometry). ||
|#

## Methods {#methods-summary}

#|
|| **Name** | **Returns** | **Description** ||
|| [destroy](https://yandex.com/dev/jsapi-v2-1/doc/en/v2-1/ref/reference/IGeometryEditorModel.md#destroy)() | | Destructor.

Inherited from [IGeometryEditorModel](https://yandex.com/dev/jsapi-v2-1/doc/en/v2-1/ref/reference/IGeometryEditorModel.md#destroy). ||
|| [getAllVerticesNumber](https://yandex.com/dev/jsapi-v2-1/doc/en/v2-1/ref/reference/geometryEditor.model.ChildLineString.md#getAllVerticesNumber)() | Integer
| Returns the total number of vertexes in the geometry being edited.

Inherited from [geometryEditor.model.ChildLineString](https://yandex.com/dev/jsapi-v2-1/doc/en/v2-1/ref/reference/geometryEditor.model.ChildLineString.md#getAllVerticesNumber). ||
|| [getEdgeModels](https://yandex.com/dev/jsapi-v2-1/doc/en/v2-1/ref/reference/geometryEditor.model.ChildLineString.md#getEdgeModels)() | [geometryEditor.model.Edge](https://yandex.com/dev/jsapi-v2-1/doc/en/v2-1/ref/reference/geometryEditor.model.Edge.md)[]
| Returns an array of models for interim placemarks.

Inherited from [geometryEditor.model.ChildLineString](https://yandex.com/dev/jsapi-v2-1/doc/en/v2-1/ref/reference/geometryEditor.model.ChildLineString.md#getEdgeModels). ||
|| [getIndex](https://yandex.com/dev/jsapi-v2-1/doc/en/v2-1/ref/reference/geometryEditor.model.ChildLineString.md#getIndex)() | Integer
| Returns the index of the child polyline in the parent model.

Inherited from [geometryEditor.model.ChildLineString](https://yandex.com/dev/jsapi-v2-1/doc/en/v2-1/ref/reference/geometryEditor.model.ChildLineString.md#getIndex). ||
|| [getParent](https://yandex.com/dev/jsapi-v2-1/doc/en/v2-1/ref/reference/IGeometryEditorChildModel.md#getParent)() | [IGeometryEditorModel](https://yandex.com/dev/jsapi-v2-1/doc/en/v2-1/ref/reference/IGeometryEditorModel.md)
| Returns the parent data model.

Inherited from [IGeometryEditorChildModel](https://yandex.com/dev/jsapi-v2-1/doc/en/v2-1/ref/reference/IGeometryEditorChildModel.md#getParent). ||
|| [getPixels](https://yandex.com/dev/jsapi-v2-1/doc/en/v2-1/ref/reference/IGeometryEditorModel.md#getPixels)() | Number[]
| Returns the model's pixel data.

Inherited from [IGeometryEditorModel](https://yandex.com/dev/jsapi-v2-1/doc/en/v2-1/ref/reference/IGeometryEditorModel.md#getPixels). ||
|| [getVertexModels](https://yandex.com/dev/jsapi-v2-1/doc/en/v2-1/ref/reference/geometryEditor.model.ChildLineString.md#getVertexModels)() | [geometryEditor.model.ChildVertex](https://yandex.com/dev/jsapi-v2-1/doc/en/v2-1/ref/reference/geometryEditor.model.ChildVertex.md)[]
| Returns an array of models for child vertexes.

Inherited from [geometryEditor.model.ChildLineString](https://yandex.com/dev/jsapi-v2-1/doc/en/v2-1/ref/reference/geometryEditor.model.ChildLineString.md#getVertexModels). ||
|| [setIndex](https://yandex.com/dev/jsapi-v2-1/doc/en/v2-1/ref/reference/geometryEditor.model.ChildLineString.md#setIndex)([index](https://yandex.com/dev/jsapi-v2-1/doc/en/v2-1/ref/reference/geometryEditor.model.ChildLineString.md#setIndex-param-index)) | | Sets the index of the child polyline in the parent model.

Inherited from [geometryEditor.model.ChildLineString](https://yandex.com/dev/jsapi-v2-1/doc/en/v2-1/ref/reference/geometryEditor.model.ChildLineString.md#setIndex). ||
|| [setPixels](https://yandex.com/dev/jsapi-v2-1/doc/en/v2-1/ref/reference/IGeometryEditorChildModel.md#setPixels)([pixels](https://yandex.com/dev/jsapi-v2-1/doc/en/v2-1/ref/reference/IGeometryEditorChildModel.md#setPixels-param-pixels)) | | Sets the model's pixel data.

Inherited from [IGeometryEditorChildModel](https://yandex.com/dev/jsapi-v2-1/doc/en/v2-1/ref/reference/IGeometryEditorChildModel.md#setPixels). ||
|| [spliceVertices](https://yandex.com/dev/jsapi-v2-1/doc/en/v2-1/ref/reference/geometryEditor.model.ChildLineString.md#spliceVertices)([start](https://yandex.com/dev/jsapi-v2-1/doc/en/v2-1/ref/reference/geometryEditor.model.ChildLineString.md#spliceVertices-param-start), [deleteCount](https://yandex.com/dev/jsapi-v2-1/doc/en/v2-1/ref/reference/geometryEditor.model.ChildLineString.md#spliceVertices-param-deleteCount)) | Number[][]
| Deletes a defined number of polyline vertexes, starting from the specified index. New vertexes can be added in place of the deleted ones. Global pixel coordinates of the new vertexes can be passed as additional arguments after the "deleteCount" parameter.

Inherited from [geometryEditor.model.ChildLineString](https://yandex.com/dev/jsapi-v2-1/doc/en/v2-1/ref/reference/geometryEditor.model.ChildLineString.md#spliceVertices). ||
|#

