======Метод DwgBlock.AddRay(Vector3D, Vector3D)====== Добавление луча * **Пространство имен:** [[developers:references:topomatic.dwg|Topomatic.Dwg]] * **Сборка:** Topomatic.Dwg (в Topomatic.Dwg.dll) =====Синтаксис===== public virtual DwgRay AddRay(Vector3D point1, Vector3D point2) **Параметры** * //point1// * Тип: [[developers:references:topomatic.cad.foundation.vector3d|Topomatic.Cad.Foundation.Vector3D]] * Первая точка * //point2// * Тип: [[developers:references:topomatic.cad.foundation.vector3d|Topomatic.Cad.Foundation.Vector3D]] * Вторая точка **Возвращаемое значение** * Тип: [[developers:references:topomatic.dwg.entities.dwgray|Topomatic.Dwg.Entities.DwgRay]] * Созданный примитив