
OCCT
万里归来少年心
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
OpenCasCade数学库 - 方向(gp_Dir)
gp_Dir描述了三维空间中的一个单位向量。 gp_Dir的定义。 class gp_Dir { public: ... private: gp_XYZ coord; }; 默认情况下,位置为原点,方向为x轴方向。 inline gp_Dir::gp_Dir () : coord(1.,0.,0.) { } gp_Dir 是一个单位向量,...原创 2019-07-12 18:41:55 · 2767 阅读 · 0 评论 -
OpenCasCade数学库 - 点(gp_Pnt)
gp_Pnt描述了三维空间中的一个点。 gp_Pnt的定义: class gp_Pnt { public: ... private: gp_XYZ coord; }; 默认情况下,位置为原点。 inline gp_Pnt::gp_Pnt() { } 两点的重心。计算公式为:(Alpha*this + Beta*P) / (Alpha + Beta) inlin...原创 2019-07-15 15:36:42 · 2601 阅读 · 0 评论 -
OpenCasCade数学库 - 二维图形变换(gp_Trsf2d)
gp_Trsf2d描述了三维空间中的图形变换。 V1 V2 T XY XY {V1, V2}定义了图形变换中的向量变换,T定义了图形变换中的平移变换。 gp_Trsf2d的定义: class gp_Trsf { public: ... private: Standard_Real scale; gp_TrsfFor...原创 2019-07-16 13:24:49 · 1534 阅读 · 0 评论 -
OpenCasCade数学库 - 函数IsEqual
1.gp_Dir 方向的相等判断:方向相同。(方向夹角接近0度) inline Standard_Boolean gp_Dir::IsEqual(const gp_Dir& Other, const Standard_Real AngularTolerance) const { return Angle (Other) <= AngularToleranc...原创 2019-07-12 09:56:44 · 942 阅读 · 0 评论 -
OpenCasCade数学库 - 包围盒(Bnd_Box)的变换(Transformed)
1.包围盒(Bnd_Box)的定义 class Bnd_Box { public: ... private: Standard_Real Xmin; Standard_Real Xmax; Standard_Real Ymin; Standard_Real Ymax; Standard_Real Zmin; Standard_Real Zmax; Stand...原创 2019-07-16 14:52:09 · 2442 阅读 · 2 评论 -
OpenCasCade数学库 - 轴(gp_Ax1)
gp_Ax1描述了三维空间中的一个轴。 1.gp_Ax1的作用 描述三维几何体(如:旋转体的轴) 描述几何变换(如:对称轴、旋转轴) 2.gp_Ax1的定义 位置 方向 class gp_Ax1 { public: ... private: gp_Pnt loc; gp_Dir vdir; }; 默认情况下,位置为原点,方向为Z轴正向。 ...原创 2019-07-12 15:50:09 · 1917 阅读 · 0 评论