OpenCascade:Topo类型转换

OpenCascade:Topo类型转换

TopoDS_Edge newEdge;
if (oldShape.ShapeType()==TopAbs_EDGE)
    newEdge=TopoDS::Edge(oldShape);

 

posted @ 2019-06-19 17:13  余生以学  阅读(345)  评论(0编辑  收藏  举报