![]() |
【转帖】how to construct valid odgecircarc3d from given oddbarc enti
how to construct valid odgecircarc3d from given oddbarc enti
how to construct valid odgecircarc3d from given oddbarc entity i think that directly passing the start and angles produces ge arc, which does not match the arc entity. thanks for any help regards chudomir quote: originally posted by chudo i think that directly passing the start and angles produces ge arc, which does not match the arc entity. thanks for any help regards chudomir the methods for accessing the properties between oddbarc and odgecircarc3d appear as follows: for oddbarc: odgepoint3d center() const odgevector3d normal() double radius() double startangle() double endangle() double thickness() and for odgecircarc3d : odgepoint3d center() const { return m_pcenter;} odgevector3d normal() const { return m_vnormal;} odgevector3d refvec() const { return m_vrefvec;} double radius() const { return m_dradius;} double startang() const { return m_dstartangle;} double endang() const { return m_dstartangle + m_dinclangle;} this appears to be a one to one coorespondence. defaults for the vectors for ge are : m_vnormal(odgevector3d::kzaxis) , m_vrefvec(odgevector3d::kxaxis) have you used these methods to match the properties back and forth and experienced differing results? i notice in the code called into the set() method, a restriction on the property relationships for start and end angle: m_dstartangle = startangle; if (endangle < startangle) endangle += oda2pi; m_dinclangle = endangle - startangle; |
所有的时间均为北京时间。 现在的时间是 03:19 AM. |