摘要: 1 class myClass 2 { 3 public: 4 bool test() { return true; } 5 }; 6 7 int main() 8 { 9 //myClass的一个实例 10 myClass obj; 11 12 //利用std::bind绑定类的成员函数 13 a 阅读全文
posted @ 2020-09-16 19:54 Craftsman-lee 阅读(1377) 评论(0) 推荐(0)
摘要: //通过Geom_Curve和等分点数来等分圆锥曲线,本文是等分椭圆 //等分的点数 int nDivide = nPoint; Handle(Geom_Curve) geomCurve; try { OCC_CATCH_SIGNALS myEllipse aEllipse(...) //椭圆的中心 阅读全文
posted @ 2020-09-16 19:41 Craftsman-lee 阅读(569) 评论(0) 推荐(0)