|
||
| Правила | Регистрация | Пользователи | Сообщения за день | | Поиск | | Справка по форуму | Файлообменник | |
|
![]() |
Поиск в этой теме |
![]() |
#1 | |
полилиния TranslateCoordinates
СПб
Регистрация: 18.10.2006
Сообщений: 15
|
||
Просмотров: 3243
|
|
||||
Project Engineer Регистрация: 05.01.2005
Лос Анджелес
Сообщений: 1,392
|
В том же Help'е читаем:
You cannot directly translate a coordinate from one OCS to another OCS. To do this, first translate the coordinate from one OCS to an intermediary coordinate system such as the WCS. Then translate that coordinate into the second OCS. To translate a point on a Polyline or LightWeightPolyline object from OCS to WCS: 1. Get the X and Y coordinates of the OCS point from the Coordinate or Coordinates property. 2. Get the Z coordinate of the OCS point from the Elevation property. 3. Get the Normal for the polyline from the Normal property. 4. Call TranslateCoordinates using the X, Y, Z coordinates and the Normal. Или по рабоче-крестьянски: Код:
![]() |
|||
![]() |