![]() |
【转帖】getecs
getecs ?
getecs ? what shoud we use instead of oddbentity::getecs method thanks in advance for any help. regards chudomir sorry, forgot to say: getecs was in version 1.091 and not in version 1.10 getecs() was always returning identity matrix. in objectarx it returns identity matrix for all autocad entities too. we removed it from interface to avoid confusions. to get transformation between wcs and ocs odgematrix3d functions can be used (planetoworld() and worldtoplane). for some entities elevation should be taken into account. btw, most accessors return coordinates in wcs. sergey slezkin thank you for your reply. so it evidently depends on the type of entity - for example to retrieve the ocs of oddbarc, i should call odgematrix3d:lanetoworld(oddbarc::normal())? regards chudomir yes. but note that center(), getstartpoint(), getendpoint() return wcs coordinates. sergey slezkin |
所有的时间均为北京时间。 现在的时间是 02:07 AM. |