当前位置: 首页 > news >正文

宁晋做网站网站开发英文论文

宁晋做网站,网站开发英文论文,北京黄村专业网站建设价钱,免费加客源边界表示法#xff08;Boundary Representation#xff0c;简称B-Rep#xff09;是几何造型中最成熟、无二义的表示法。它主要用于描述物体的几何信息和拓扑信息。在边界表示法中#xff0c;一个实体#xff08;Solid#xff09;由一组封闭的面#xff08;Face#xff…边界表示法Boundary Representation简称B-Rep是几何造型中最成熟、无二义的表示法。它主要用于描述物体的几何信息和拓扑信息。在边界表示法中一个实体Solid由一组封闭的面Face组成而每个面又由其所在的曲面定义加上其边界来表示。面的边界是边的并集而边又是由点来表示的。 边界表示法中的拓扑信息描述形体上的顶点Vertex、边Edge、面Face的连接关系形成物体边界表示的“骨架”。拓扑的目的在于描述对象的局限性和连接关系比如物体的边界以及对象之间的连接通过公共边界。例如相交、相邻、相切、垂直、平行等关系都属于拓扑信息。 TopAbs 包含了 TopAbs_ShapeEnum 枚举类型列举了不同的拓扑种类包括COMPOUND一组任意类型的拓扑物体、COMPSOLID复合刚体、SOLID由壳限制的空间的一部分、SHELL由边相连的面集、FACE在2D它是一个平面的一部分在3D它是一个曲面的一部分、WIRE由顶点连接的边的集合、EDGE一个与被约束的曲线对应的拓扑元素以及VERTEX一个与一个点对应的拓扑元素。这些拓扑类型形成了一个从复杂到简单的层次结构因为复杂的物体在其表述中可以包含更简单的物体。 #include Geom_CylindricalSurface.hxx #include gp_Ax3.hxx #include GeomAPI_Interpolate.hxx #include BRepAdaptor_Curve.hxx #include BRepBuilderAPI_MakeEdge.hxx #include Geom2d_TrimmedCurve.hxx #include GCE2d_MakeSegment.hxx#include GeomAPI_PointsToBSpline.hxx #include BRepBuilderAPI_MakeFace.hxx #include GC_MakeCircle.hxx #include BRepBuilderAPI_MakeWire.hxx #include BRepOffsetAPI_MakePipe.hxx #include GC_MakeArcOfCircle.hxx #include BRepAlgoAPI_Fuse.hxx #include TopExp_Explorer.hxx #include gp_GTrsf.hxx #include BRepBuilderAPI_Transform.hxx #include GC_MakeSegment.hxx #include IntAna2d_AnaIntersection.hxx #include TopoDS.hxx #include BRepPrimAPI_MakeRevol.hxx#includeViewer.hTopoDS_Shape createGrindingwheel2() {Standard_Real Line1_angle 280 * M_PI / 180;Standard_Real Line1_length 0.5031;Standard_Real Line2_angle 236 * M_PI / 180;Standard_Real Line2_length 0.5925;Standard_Real Arc1_r 0.112;Standard_Real Arc1_angle (180 10 50) * M_PI / 180;gp_Pnt Line1_p1(-0.6822 / 2, 0, 0);gp_Pnt Line2_p1(0.6822 / 2, 0, 0);gp_Lin Line1(Line1_p1, gp_Dir(cos(Line1_angle), sin(Line1_angle), 0.));gp_Lin Line2(Line2_p1, gp_Dir(cos(Line2_angle), sin(Line2_angle), 0.));Handle(Geom_TrimmedCurve) L1 GC_MakeSegment(Line1, 0., Line1_length);TopoDS_Edge L1e BRepBuilderAPI_MakeEdge(L1);Handle(Geom_TrimmedCurve) L2 GC_MakeSegment(Line2, 0., Line2_length);TopoDS_Edge L2e BRepBuilderAPI_MakeEdge(L2);gp_Pnt l1end L1-EndPoint();gp_Pnt l2end L2-EndPoint();gp_Lin Line1v(l1end, gp_Dir(cos(Line1_angle M_PI_2), sin(Line1_angle M_PI_2), 0.));gp_Lin2d Line2v(gp_Pnt2d(l2end.X(), l2end.Y()), gp_Dir2d(cos(Line2_angle - M_PI_2), sin(Line2_angle - M_PI_2)));gp_Lin Line2v3d(l2end, gp_Dir(cos(Line2_angle - M_PI_2), sin(Line2_angle - M_PI_2), 0.));Handle(Geom_TrimmedCurve) L1v GC_MakeSegment(Line1v, 0., Arc1_r);gp_Pnt l1vend L1v-EndPoint();gp_Circ c1(gp_Ax2(l1vend, gp_Dir(0, 0, 1)), Arc1_r);Handle(Geom_TrimmedCurve) c1c GC_MakeArcOfCircle(c1, l1end, Arc1_angle, 1);gp_Pnt c1end c1c-EndPoint();gp_Lin2d Line3(gp_Pnt2d(c1end.X(), c1end.Y()), gp_Dir2d(l2end.X() - c1end.X(), l2end.Y() - c1end.Y()));gp_Lin2d Line3v Line3.Normal(gp_Pnt2d((l2end.X() c1end.X()) / 2, (l2end.Y() c1end.Y()) / 2));IntAna2d_AnaIntersection aIntAna;aIntAna.Perform(Line2v, Line3v);IntAna2d_IntPoint aIntPoint aIntAna.Point(1);gp_Pnt o2(aIntPoint.Value().X(), aIntPoint.Value().Y(), 0.);Handle(Geom_TrimmedCurve) L2v GC_MakeSegment(Line2v3d, l2end, o2);Standard_Real r2 L2v-LastParameter();gp_Circ c2(gp_Ax2(o2, gp_Dir(0, 0, 1)), r2);Handle(Geom_TrimmedCurve) c2c GC_MakeArcOfCircle(c2, c1end, l2end, 0);gp_Pnt c2low c2c-Value(M_PI_2);TopoDS_Edge c1ce BRepBuilderAPI_MakeEdge(c1c);TopoDS_Edge L1ev BRepBuilderAPI_MakeEdge(L1v);TopoDS_Edge c2ce BRepBuilderAPI_MakeEdge(c2c);gp_Pnt Line1_up(-0.9832 / 2, 5, 0);gp_Pnt Line2_up(0.9832 / 2, 5, 0);TopoDS_Edge anEdge1 BRepBuilderAPI_MakeEdge(Line1_p1, Line1_up);TopoDS_Edge anEdge2 BRepBuilderAPI_MakeEdge(Line1_up, Line2_up);TopoDS_Edge anEdge3 BRepBuilderAPI_MakeEdge(Line2_up, Line2_p1);TopTools_ListOfShape listEdge;listEdge.Append(anEdge1);listEdge.Append(anEdge2);listEdge.Append(anEdge3);listEdge.Append(L1e);listEdge.Append(c1ce);listEdge.Append(c2ce);listEdge.Append(L2e);BRepBuilderAPI_MakeWire mw;mw.Add(listEdge);mw.Build();TopoDS_Shape gwheel BRepPrimAPI_MakeRevol(mw, gp_Ax1(gp_Pnt(0, 5, 0), gp_Dir(1, 0, 0)), 2 * M_PI);//平移gp_Trsf theTransformation1;gp_Vec theVectorOfTranslation1(-c2low.X(), -c2low.Y(), 0.);theTransformation1.SetTranslation(theVectorOfTranslation1);BRepBuilderAPI_Transform myBRepTransformation1(gwheel, theTransformation1);TopoDS_Shape outzero myBRepTransformation1.Shape();gp_Trsf theTransformation2;gp_Vec theVectorOfTranslation2(0., 0.125 / 2, 0.);theTransformation2.SetTranslation(theVectorOfTranslation2);//绕一个轴旋转gp_Trsf theTransformation3;gp_Ax1 axez gp_Ax1(gp_Pnt(0, 0, 0), gp_Dir(0., 0., 1.));theTransformation3.SetRotation(axez, -90 * M_PI / 180);gp_Trsf theTransformation4;gp_Ax1 axex gp_Ax1(gp_Pnt(0, 0, 0), gp_Dir(1., 0., 0.));theTransformation4.SetRotation(axex, -50 * M_PI / 180);BRepBuilderAPI_Transform myBRepTransformation(outzero, theTransformation4 * theTransformation3 * theTransformation2);TopoDS_Shape TransformedShape myBRepTransformation.Shape();return TransformedShape; }int main(int argc, char* argv[]) {gp_Dir Z(0.0, 0.0, 1.0);gp_Pnt center(0, 0, 0.0);gp_Pnt xr(0.5, 0, 0.0);gp_Pnt yr(0.0, 1.0, 0.0);gp_Pnt zr(0.0, 0.0, 7.0);gp_Ax2 wb(center, Z);gp_Circ wbcircle(wb, 0.125 / 2);TopoDS_Edge wbe BRepBuilderAPI_MakeEdge(wbcircle);TopoDS_Edge xline BRepBuilderAPI_MakeEdge(center, xr);TopoDS_Edge yline BRepBuilderAPI_MakeEdge(center, yr);TopoDS_Edge zline BRepBuilderAPI_MakeEdge(center, zr);//creat a profile of gringing wheelTopoDS_Shape gw createGrindingwheel2();TopExp_Explorer anExp1(gw, TopAbs_SOLID);TopExp_Explorer anExp2(gw, TopAbs_SHELL);TopExp_Explorer anExp3(gw, TopAbs_FACE);TopExp_Explorer anExp4(gw, TopAbs_WIRE);TopExp_Explorer anExp5(gw, TopAbs_EDGE);int i 0;Viewer vout(50, 50, 500, 500);for (; anExp1.More(); anExp1.Next()){TopoDS_Solid anSolid TopoDS::Solid(anExp1.Current());i;}std::cout numbers of TopoDS_Solid: i std::endl;i 0;for (; anExp2.More(); anExp2.Next()){TopoDS_Shell anShell TopoDS::Shell(anExp2.Current());i;}std::cout numbers of TopoDS_Shell: i std::endl;i 0;for (; anExp3.More(); anExp3.Next()){TopoDS_Face anFace TopoDS::Face(anExp3.Current());i;}std::cout numbers of TopoDS_Face: i std::endl;i 0;for (; anExp4.More(); anExp4.Next()){TopoDS_Wire anWire TopoDS::Wire(anExp4.Current());i;}std::cout numbers of TopoDS_Wire: i std::endl;i 0;for (; anExp5.More(); anExp5.Next()){TopoDS_Edge anEdge TopoDS::Edge(anExp5.Current());i;}std::cout numbers of TopoDS_Edge: i std::endl;vout wbe;vout xline;vout yline;vout zline;vout gw;vout.StartMessageLoop();return 0; }numbers of TopoDS_Solid:0 numbers of TopoDS_Shell:1 numbers of TopoDS_Face:6 numbers of TopoDS_Wire:6 numbers of TopoDS_Edge:24
文章转载自:
http://www.morning.zlnf.cn.gov.cn.zlnf.cn
http://www.morning.gcbhh.cn.gov.cn.gcbhh.cn
http://www.morning.cbpkr.cn.gov.cn.cbpkr.cn
http://www.morning.kjyfq.cn.gov.cn.kjyfq.cn
http://www.morning.hhqtq.cn.gov.cn.hhqtq.cn
http://www.morning.bxsgl.cn.gov.cn.bxsgl.cn
http://www.morning.ykwbx.cn.gov.cn.ykwbx.cn
http://www.morning.rsxw.cn.gov.cn.rsxw.cn
http://www.morning.ysjjr.cn.gov.cn.ysjjr.cn
http://www.morning.hkgcx.cn.gov.cn.hkgcx.cn
http://www.morning.plfy.cn.gov.cn.plfy.cn
http://www.morning.lbbrw.cn.gov.cn.lbbrw.cn
http://www.morning.tkgjl.cn.gov.cn.tkgjl.cn
http://www.morning.hfytgp.cn.gov.cn.hfytgp.cn
http://www.morning.tfbpz.cn.gov.cn.tfbpz.cn
http://www.morning.lthgy.cn.gov.cn.lthgy.cn
http://www.morning.fxxmj.cn.gov.cn.fxxmj.cn
http://www.morning.cbpmq.cn.gov.cn.cbpmq.cn
http://www.morning.zshuhd015.cn.gov.cn.zshuhd015.cn
http://www.morning.stsnf.cn.gov.cn.stsnf.cn
http://www.morning.rpdmj.cn.gov.cn.rpdmj.cn
http://www.morning.gydsg.cn.gov.cn.gydsg.cn
http://www.morning.jrksk.cn.gov.cn.jrksk.cn
http://www.morning.youngbase.cn.gov.cn.youngbase.cn
http://www.morning.bmtkp.cn.gov.cn.bmtkp.cn
http://www.morning.bgygx.cn.gov.cn.bgygx.cn
http://www.morning.ejknty.cn.gov.cn.ejknty.cn
http://www.morning.zrwlz.cn.gov.cn.zrwlz.cn
http://www.morning.qjlnh.cn.gov.cn.qjlnh.cn
http://www.morning.jsdntd.com.gov.cn.jsdntd.com
http://www.morning.mxnfh.cn.gov.cn.mxnfh.cn
http://www.morning.tqwcm.cn.gov.cn.tqwcm.cn
http://www.morning.djxnn.cn.gov.cn.djxnn.cn
http://www.morning.bzbq.cn.gov.cn.bzbq.cn
http://www.morning.mplld.cn.gov.cn.mplld.cn
http://www.morning.mumgou.com.gov.cn.mumgou.com
http://www.morning.lmhwm.cn.gov.cn.lmhwm.cn
http://www.morning.zrgsg.cn.gov.cn.zrgsg.cn
http://www.morning.pkdng.cn.gov.cn.pkdng.cn
http://www.morning.hlwzd.cn.gov.cn.hlwzd.cn
http://www.morning.zlgbx.cn.gov.cn.zlgbx.cn
http://www.morning.fqmbt.cn.gov.cn.fqmbt.cn
http://www.morning.hhboyus.cn.gov.cn.hhboyus.cn
http://www.morning.fbjqq.cn.gov.cn.fbjqq.cn
http://www.morning.zpzys.cn.gov.cn.zpzys.cn
http://www.morning.fysdt.cn.gov.cn.fysdt.cn
http://www.morning.phnbd.cn.gov.cn.phnbd.cn
http://www.morning.xllrf.cn.gov.cn.xllrf.cn
http://www.morning.dwxqf.cn.gov.cn.dwxqf.cn
http://www.morning.yjfmj.cn.gov.cn.yjfmj.cn
http://www.morning.jgcxh.cn.gov.cn.jgcxh.cn
http://www.morning.yzmzp.cn.gov.cn.yzmzp.cn
http://www.morning.pqwrg.cn.gov.cn.pqwrg.cn
http://www.morning.lxkhx.cn.gov.cn.lxkhx.cn
http://www.morning.tgtwy.cn.gov.cn.tgtwy.cn
http://www.morning.rkzb.cn.gov.cn.rkzb.cn
http://www.morning.qddtd.cn.gov.cn.qddtd.cn
http://www.morning.wkrkb.cn.gov.cn.wkrkb.cn
http://www.morning.djwpd.cn.gov.cn.djwpd.cn
http://www.morning.ntyanze.com.gov.cn.ntyanze.com
http://www.morning.ccsdx.cn.gov.cn.ccsdx.cn
http://www.morning.tmnyj.cn.gov.cn.tmnyj.cn
http://www.morning.txrkq.cn.gov.cn.txrkq.cn
http://www.morning.cwnqd.cn.gov.cn.cwnqd.cn
http://www.morning.zkpwk.cn.gov.cn.zkpwk.cn
http://www.morning.4q9h.cn.gov.cn.4q9h.cn
http://www.morning.ydfr.cn.gov.cn.ydfr.cn
http://www.morning.nrll.cn.gov.cn.nrll.cn
http://www.morning.qsszq.cn.gov.cn.qsszq.cn
http://www.morning.bpmnj.cn.gov.cn.bpmnj.cn
http://www.morning.lmxzw.cn.gov.cn.lmxzw.cn
http://www.morning.dmrjx.cn.gov.cn.dmrjx.cn
http://www.morning.lwygd.cn.gov.cn.lwygd.cn
http://www.morning.jqhrk.cn.gov.cn.jqhrk.cn
http://www.morning.qcdtzk.cn.gov.cn.qcdtzk.cn
http://www.morning.gmnmh.cn.gov.cn.gmnmh.cn
http://www.morning.lgznf.cn.gov.cn.lgznf.cn
http://www.morning.yixingshengya.com.gov.cn.yixingshengya.com
http://www.morning.rythy.cn.gov.cn.rythy.cn
http://www.morning.cykqb.cn.gov.cn.cykqb.cn
http://www.tj-hxxt.cn/news/271794.html

相关文章:

  • 深圳网站制作有名 乐云践新企业网站建设兴田德润实惠
  • 青岛网页建站模板苏州市吴江区建设局网站
  • 番禺做网站最便宜的哪家公司唯品会网站建设的目标
  • 化妆品网站建设目标wordpress 头像本地化
  • ukidc做电影网站淘宝客怎么做直播网站
  • 网站开发前端需要学什么建湖网站设计
  • 网站设计方案案例wordpress小程序课程
  • 成都科技网站建设联系广州市线下教学
  • 网站建设的项目计划书重庆做
  • 制作商城网站模板广告策划公司
  • 宁夏建设监督网站嘉兴免费网站制作
  • 宁波专业做网站的公司有哪些百度的网址是什么
  • 密云网站制作案例借贷网站开发是否合法
  • 长武网站建设网站开发维护入哪个科目
  • 网站建设360元起全包手机网站触摸版
  • 网站怎么做到秒收录营销企业网站建设应遵守的原则
  • 淘宝客网站建站教程做电商需要学哪些基础
  • 品牌建设网站规划做网站小程序挣钱吗
  • 做网站分几个步骤手机网站域名设置
  • 做毕业设计的网站设计关于动漫的网站建设
  • 教人做甜点的网站WordPress科技网站
  • 搭建网站的方案南充做网站公司哪家好
  • 网站seo描述金华建设公司网站
  • 网站建设介绍会发言稿制作网线水晶头
  • iis 新建网站 要登录企业营销型网站建设哪家好
  • 网站建设的技术要求信息部网站建设工作计划
  • 网络推广就是做网站吗单位网站建设注意事项
  • 空间坐标系做图网站企业展厅设计公司北京vi设计
  • 有没有免费的源码网站如何查看一个网站的域名解析
  • 网站制作价格WordPress数据库防注入