======Класс CrsConstruction====== Конструкция поперечника * **Пространство имен:** [[developers:references:topomatic.crs.templates|Topomatic.Crs.Templates]] * **Сборка:** Topomatic.Crs (в Topomatic.Crs.dll) =====Иерархия наследования===== * System.Object * [[developers:references:topomatic.crs.templates.crscomponent|Topomatic.Crs.Templates.CrsComponent]] * [[developers:references:topomatic.crs.templates.crscontainer|Topomatic.Crs.Templates.CrsContainer]] * Topomatic.Crs.Templates.CrsConstruction * [[developers:references:topomatic.crs.templates.crsgeologyground|Topomatic.Crs.Templates.CrsGeologyGround]] * [[developers:references:topomatic.crs.templates.crsground|Topomatic.Crs.Templates.CrsGround]] * [[developers:references:topomatic.crs.templates.crslayerlist|Topomatic.Crs.Templates.CrsLayerList]] * [[developers:references:topomatic.crs.templates.crsredline|Topomatic.Crs.Templates.CrsRedLine]] * [[developers:references:topomatic.crs.templates.crssegment|Topomatic.Crs.Templates.CrsSegment]] * [[developers:references:topomatic.crs.templates.crssegmentlist|Topomatic.Crs.Templates.CrsSegmentList]] * [[developers:references:topomatic.crs.templates.crssemanticconstruction|Topomatic.Crs.Templates.CrsSemanticConstruction]] * [[developers:references:topomatic.crs.templates.crsuserconstruction|Topomatic.Crs.Templates.CrsUserConstruction]] =====Синтаксис===== public abstract class CrsConstruction : CrsContainer, IEnumerable, IEnumerable =====Свойства===== ^Тип^Имя^Описание^ |{{developers:references:property.png|Свойство}}|[[developers:references:topomatic.crs.templates.crsconstruction.allowautocalculation|AllowAutoCalculation]]| Позволяет исключить конструкцию из автоматических расчетов, таких как расчет объемов или реконструкция | |{{developers:references:property.png|Свойство}}|[[developers:references:topomatic.crs.templates.crsconstruction.calcvolumes|calcVolumes]]| | |{{developers:references:property.png|Свойство}}|[[developers:references:topomatic.crs.templates.crsconstruction.constructionmode|ConstructionMode]]| Конструкция находится в режиме конструирования | |{{developers:references:property.png|Свойство}}|[[developers:references:topomatic.crs.templates.crscontainer.count|Count]]| Количество элементов в коллекции (Наследуется от [[developers:references:topomatic.crs.templates.crscontainer|CrsContainer]].)| |{{developers:references:property.png|Свойство}}|[[developers:references:topomatic.crs.templates.crscomponent.designcontext|DesignContext]]| Ссылка на корневой контекст проектирования (Наследуется от [[developers:references:topomatic.crs.templates.crscomponent|CrsComponent]].)| |{{developers:references:property.png|Свойство}}|[[developers:references:topomatic.crs.templates.crsconstruction.insertionnode|InsertionNode]]| Узел вставки конструкции | |{{developers:references:property.png|Свойство}}|[[developers:references:topomatic.crs.templates.crscontainer.item_system.string|Item[String]]]| (Наследуется от [[developers:references:topomatic.crs.templates.crscontainer|CrsContainer]].)| |{{developers:references:property.png|Свойство}}|[[developers:references:topomatic.crs.templates.crscontainer.item_system.int32|Item[Int32]]]| (Наследуется от [[developers:references:topomatic.crs.templates.crscontainer|CrsContainer]].)| |{{developers:references:property.png|Свойство}}|[[developers:references:topomatic.crs.templates.crsconstruction.mirror|Mirror]]| Является ли конструкция зеркальным отражением | |{{developers:references:property.png|Свойство}}|[[developers:references:topomatic.crs.templates.crscomponent.name|Name]]| Имя элемента (Наследуется от [[developers:references:topomatic.crs.templates.crscomponent|CrsComponent]].)| |{{developers:references:property.png|Свойство}}|[[developers:references:topomatic.crs.templates.crscomponent.owner|Owner]]| Ссылка на владелеца элемента (Наследуется от [[developers:references:topomatic.crs.templates.crscomponent|CrsComponent]].)| |{{developers:references:property.png|Свойство}}|[[developers:references:topomatic.crs.templates.crsconstruction.projectionmatrix|ProjectionMatrix]]| Матрица | |{{developers:references:property.png|Свойство}}|[[developers:references:topomatic.crs.templates.crsconstruction.propermatrix|ProperMatrix]]| Собственная матрица | |{{developers:references:property.png|Свойство}}|[[developers:references:topomatic.crs.templates.crsconstruction.x|X]]| Смещение по оси X относительно узла InsertionNode | |{{developers:references:property.png|Свойство}}|[[developers:references:topomatic.crs.templates.crsconstruction.y|Y]]| Смещение по оси Y относительно узла InsertionNode | =====Методы===== ^Тип^Имя^Описание^ |{{developers:references:method.png|Метод}}|[[developers:references:topomatic.crs.templates.crscontainer.add_topomatic.crs.templates.crscomponent|Add(CrsComponent)]]| Метод добавляет элемент в коллекцию (Наследуется от [[developers:references:topomatic.crs.templates.crscontainer|CrsContainer]].)| |{{developers:references:method.png|Метод}}|[[developers:references:topomatic.crs.templates.crscontainer.addrange_system.collections.ienumerable|AddRange(IEnumerable)]]| Добавляем коллекцию элементов (Наследуется от [[developers:references:topomatic.crs.templates.crscontainer|CrsContainer]].)| |{{developers:references:method.png|Метод}}|[[developers:references:topomatic.crs.templates.crsconstruction.clear|Clear()]]| Удаляет все элементы из коллекции, удаление возможно только в режиме котструирования (Переопределяет [[developers:references:topomatic.crs.templates.crscontainer.clear|Clear()]].)| |{{developers:references:method.png|Метод}}|[[developers:references:topomatic.crs.templates.crsconstruction.createvolumes|CreateVolumes()]]| Создать объемы | |{{developers:references:method.png|Метод}}|Equals(Object)| Определяет, равен ли заданный объект текущему объекту. (Наследуется от Object.)| |{{developers:references:method.png|Метод}}|[[developers:references:topomatic.crs.templates.crscontainer.findcomponent_system.string|FindComponent(String)]]| (Наследуется от [[developers:references:topomatic.crs.templates.crscontainer|CrsContainer]].)| |{{developers:references:method.png|Метод}}|[[developers:references:topomatic.crs.templates.crscontainer.findcontour_system.int32|FindContour(Int32)]]| (Наследуется от [[developers:references:topomatic.crs.templates.crscontainer|CrsContainer]].)| |{{developers:references:method.png|Метод}}{{developers:references:static.png|Статический}}|[[developers:references:topomatic.crs.templates.crsconstruction.generatelinearobjectvariablekey_system.string_system.string|GenerateLinearObjectVariableKey(String, String)]]| | |{{developers:references:method.png|Метод}}|[[developers:references:topomatic.crs.templates.crscontainer.getenumerator|GetEnumerator()]]| Возвращает перечислитель, осуществляющий перебор элементов коллекции CrsContainer. (Наследуется от [[developers:references:topomatic.crs.templates.crscontainer|CrsContainer]].)| |{{developers:references:method.png|Метод}}|[[developers:references:topomatic.crs.templates.crsconstruction.getgrips|GetGrips()]]| Грипы конструкции | |{{developers:references:method.png|Метод}}|GetHashCode()| Служит хэш-функцией по умолчанию. (Наследуется от Object.)| |{{developers:references:method.png|Метод}}|[[developers:references:topomatic.crs.templates.crsconstruction.getnodes|GetNodes()]]| Метод перечисляет все узлы, к которым можно привязываться | |{{developers:references:method.png|Метод}}|GetType()| Возвращает объект Type для текущего экземпляра. (Наследуется от Object.)| |{{developers:references:method.png|Метод}}|[[developers:references:topomatic.crs.templates.crscontainer.indexof_topomatic.crs.templates.crscomponent|IndexOf(CrsComponent)]]| Метод возвращает индекс элемента (Наследуется от [[developers:references:topomatic.crs.templates.crscontainer|CrsContainer]].)| |{{developers:references:method.png|Метод}}|[[developers:references:topomatic.crs.templates.crsconstruction.linkbycode_system.int32_system.int32|LinkByCode(Int32, Int32)]]| Метод возвращает узел по коду и индексу | |{{developers:references:method.png|Метод}}|[[developers:references:topomatic.crs.templates.crsconstruction.linkbycode_system.int32|LinkByCode(Int32)]]| Метод возвращает первый узел по коду | |{{developers:references:method.png|Метод}}|[[developers:references:topomatic.crs.templates.crsconstruction.linkbyindex_system.int32|LinkByIndex(Int32)]]| Метод возвращает узел по индексу | |{{developers:references:method.png|Метод}}|[[developers:references:topomatic.crs.templates.crsconstruction.linkbyname_system.string|LinkByName(String)]]| Метод возвращает узел по имени | |{{developers:references:method.png|Метод}}|[[developers:references:topomatic.crs.templates.crscontainer.remove_topomatic.crs.templates.crscomponent|Remove(CrsComponent)]]| Метод удаляет элемент и коллекции (Наследуется от [[developers:references:topomatic.crs.templates.crscontainer|CrsContainer]].)| |{{developers:references:method.png|Метод}}|ToString()| Возвращает строку, представляющую текущий объект. (Наследуется от Object.)|