![]() |
【转帖】meaning of normal member
meaning of normal member
meaning of normal member many oddbentity classes have a member representing a normal vector. does this vector produce some transformation to the entity if different from the z axis? yes. the transformation is described in autocad's dxf reference (appendix b - advanced dxf issues/arbitrary axis algorithm) you can use odgematrix3d methods to get transformation matrices: worldtoplane(normal), planetoworld(normal) settoworldtoplane(normal), settoplanetoworld(normal) note that most accessors return points in world coordinate system (wcs) - already transformed. oddb2dpolylinevertices are stored in object coordinate system (ocs) - xy plane. to get their world position you have to apply transformation or to use oddb2dpolyline::getvertexposition() method. it also specifies extrusion direction for 2d entity if thickness is non-zero. [ march 07, 2003: message edited by: sergey slezkin ]</p> sergey slezkin dear sergey i cannot find any getvertexposition member function in the documentation or headers files sorry, the function is: odgepoint3d oddb2dpolyline::vertexposition(const oddb2dvertex&) const; sergey slezkin |
所有的时间均为北京时间。 现在的时间是 01:14 PM. |