Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在解析 DXF (Autocad) 文件。在这个文件中,有几个实体的拉伸向量与“默认”不同(0, 0, 1)。我在解析这些实体时遇到了很多麻烦,因为必须映射它们的坐标才能在 2D 平面中表示。
(0, 0, 1)
因此,例如,如果我有一个具有以下属性的线实体:
x1 = 10 y1 = 10 x2 = 20 y2 = 30
并且(-0.1, 0.1, 0.5)一旦在 2D 平面中表示,实际线坐标的挤压向量将是什么?
(-0.1, 0.1, 0.5)
一条线是一个 3D 实体。起点和终点坐标位于世界坐标系 (WCS) 中。拉伸矢量在这里没有影响,它仅适用于 2D 实体,例如圆、弧、椭圆和 2D 多段线。