======Класс GapsCollection====== Коллекция разрывов * **Пространство имен:** [[developers:references:topomatic.alg.gaps|Topomatic.Alg.Gaps]] * **Сборка:** Topomatic.Alg (в Topomatic.Alg.dll) =====Иерархия наследования===== * System.Object * [[developers:references:topomatic.foundationclasses.updatableobject|Topomatic.FoundationClasses.UpdatableObject]] * [[developers:references:topomatic.foundationclasses.undoobject|Topomatic.FoundationClasses.UndoObject]] * Topomatic.Alg.Gaps.GapsCollection * [[developers:references:topomatic.alg.road.gaps.ditchgapscollection|Topomatic.Alg.Road.Gaps.DitchGapsCollection]] =====Синтаксис===== public class GapsCollection : UndoObject, INamedTransactable, ITransactable, IUpdatable, IList, ICollection, IEnumerable, IEnumerable, IOwned, IStgSerializable =====Конструкторы===== ^Тип^Имя^Описание^ |{{developers:references:method.png|Конструктор}}|[[developers:references:topomatic.alg.gaps.gapscollection..ctor_system.object|GapsCollection(Object)]]| | =====Свойства===== ^Тип^Имя^Описание^ |{{developers:references:property.png|Свойство}}|[[developers:references:topomatic.alg.gaps.gapscollection.count|Count]]| Количество элементов коллекции | |{{developers:references:property.png|Свойство}}|[[developers:references:topomatic.alg.gaps.gapscollection.isreadonly|IsReadOnly]]| Возможно ли редкатирование коллекции | |{{developers:references:property.png|Свойство}}|[[developers:references:topomatic.foundationclasses.undoobject.isupdating|IsUpdating]]| (Наследуется от [[developers:references:topomatic.foundationclasses.undoobject|UndoObject]].)| |{{developers:references:property.png|Свойство}}|[[developers:references:topomatic.alg.gaps.gapscollection.item_system.int32|Item[Int32]]]| | |{{developers:references:property.png|Свойство}}|[[developers:references:topomatic.alg.gaps.gapscollection.owner|Owner]]| | |{{developers:references:property.png|Свойство}}|[[developers:references:topomatic.foundationclasses.updatableobject.transactionmanager|TransactionManager]]| (Наследуется от [[developers:references:topomatic.foundationclasses.updatableobject|UpdatableObject]].)| =====Методы===== ^Тип^Имя^Описание^ |{{developers:references:method.png|Метод}}|[[developers:references:topomatic.alg.gaps.gapscollection.add_topomatic.alg.gaps.gap|Add(Gap)]]| Добавляет разрыв в коллекцию | |{{developers:references:method.png|Метод}}|[[developers:references:topomatic.foundationclasses.undoobject.beginupdate|BeginUpdate()]]| (Наследуется от [[developers:references:topomatic.foundationclasses.undoobject|UndoObject]].)| |{{developers:references:method.png|Метод}}|[[developers:references:topomatic.foundationclasses.undoobject.beginupdate_system.string|BeginUpdate(String)]]| (Наследуется от [[developers:references:topomatic.foundationclasses.undoobject|UndoObject]].)| |{{developers:references:method.png|Метод}}|[[developers:references:topomatic.alg.gaps.gapscollection.clear|Clear()]]| Очищает коллекцию | |{{developers:references:method.png|Метод}}|[[developers:references:topomatic.alg.gaps.gapscollection.contains_topomatic.alg.gaps.gap|Contains(Gap)]]| Проверяет, содержит ли коллекция разрыв | |{{developers:references:method.png|Метод}}|[[developers:references:topomatic.alg.gaps.gapscollection.containstation_system.double|ContainStation(Double)]]| Проверяет, попадает ли пикет на разрыв | |{{developers:references:method.png|Метод}}|[[developers:references:topomatic.alg.gaps.gapscollection.containstation_system.double_system.boolean_system.boolean|ContainStation(Double, Boolean, Boolean)]]| | |{{developers:references:method.png|Метод}}|[[developers:references:topomatic.alg.gaps.gapscollection.containstation_system.double_ref_system.double_ref_system.double|ContainStation(Double, Double, Double)]]| Проверяет, попадает пикет на разрыв или нет и возвращает границы разрыва, в который он попал | |{{developers:references:method.png|Метод}}|[[developers:references:topomatic.alg.gaps.gapscollection.copyto_arr_topomatic.alg.gaps.gap_system.int32|CopyTo(Gap[], Int32)]]| Копирует в массив разрывов, начиная с заданного индекса | |{{developers:references:method.png|Метод}}|[[developers:references:topomatic.foundationclasses.undoobject.endupdate|EndUpdate()]]| (Наследуется от [[developers:references:topomatic.foundationclasses.undoobject|UndoObject]].)| |{{developers:references:method.png|Метод}}|Equals(Object)| Определяет, равен ли заданный объект текущему объекту. (Наследуется от Object.)| |{{developers:references:method.png|Метод}}|[[developers:references:topomatic.alg.gaps.gapscollection.getenumerator|GetEnumerator()]]| | |{{developers:references:method.png|Метод}}|GetHashCode()| Служит хэш-функцией по умолчанию. (Наследуется от Object.)| |{{developers:references:method.png|Метод}}|[[developers:references:topomatic.alg.gaps.gapscollection.getsegments|GetSegments()]]| Возвращает список пар разрывов (начало - конец), обрабатывая пересекающиеся значения | |{{developers:references:method.png|Метод}}|GetType()| Возвращает объект Type для текущего экземпляра. (Наследуется от Object.)| |{{developers:references:method.png|Метод}}|[[developers:references:topomatic.alg.gaps.gapscollection.indexof_topomatic.alg.gaps.gap|IndexOf(Gap)]]| Находит текущий разрыв и возвращает его индекс | |{{developers:references:method.png|Метод}}|[[developers:references:topomatic.alg.gaps.gapscollection.insert_system.int32_topomatic.alg.gaps.gap|Insert(Int32, Gap)]]| Вставляет разрыв по индексу | |{{developers:references:method.png|Метод}}|[[developers:references:topomatic.alg.gaps.gapscollection.intersectsegment_system.double_system.double_ref_system.collections.generic.ienumerable`1|IntersectSegment(Double, Double, IEnumerable`1)]]| | |{{developers:references:method.png|Метод}}|[[developers:references:topomatic.alg.gaps.gapscollection.loadfromstg_topomatic.stg.stgnode|LoadFromStg(StgNode)]]| | |{{developers:references:method.png|Метод}}|[[developers:references:topomatic.alg.gaps.gapscollection.remove_topomatic.alg.gaps.gap|Remove(Gap)]]| Удаляет разрыв из коллекции | |{{developers:references:method.png|Метод}}|[[developers:references:topomatic.alg.gaps.gapscollection.removeat_system.int32|RemoveAt(Int32)]]| Удаляет разрыв по индексу | |{{developers:references:method.png|Метод}}|[[developers:references:topomatic.alg.gaps.gapscollection.savetostg_topomatic.stg.stgnode|SaveToStg(StgNode)]]| | |{{developers:references:method.png|Метод}}|ToString()| Возвращает строку, представляющую текущий объект. (Наследуется от Object.)| =====События===== ^Тип^Имя^Описание^ |{{developers:references:event.png|Событие}}|[[developers:references:topomatic.foundationclasses.undoobject.changed|Changed]]| (Наследуется от [[developers:references:topomatic.foundationclasses.undoobject|UndoObject]].)| |{{developers:references:event.png|Событие}}|[[developers:references:topomatic.foundationclasses.undoobject.undo|Undo]]| (Наследуется от [[developers:references:topomatic.foundationclasses.undoobject|UndoObject]].)|