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

快速搭建网站的工具有哪些做一个论坛网站需要多少钱

快速搭建网站的工具有哪些,做一个论坛网站需要多少钱,网站设计主题是什么,wordpress速度优化插件3.Arrangement查询 Arrangement里面最重要的查询操作是point-location#xff0c;给定一个点#xff0c;查找到包含这个点的Arrangement。通常情况下#xff0c;point-location查询得到的结果是Arrangement的一个face#xff0c;退化情况下会是一个edge#xff0c;查一个…3.Arrangement查询 Arrangement里面最重要的查询操作是point-location给定一个点查找到包含这个点的Arrangement。通常情况下point-location查询得到的结果是Arrangement的一个face退化情况下会是一个edge查一个重合的点。 3.1 point-Location查询 3.3 垂直射线扫描 另一个经常用到Arrangement的查找是垂直射线扫描查找给定一个查找点哪些Arrangement单元会跟从这个点发射的垂直射线相交一般情况下可能这个射线交到一边edge也有可能交到一个vertex或者这个Arrangement单元不跟这个射线相交。 在前面章节讲到的point-location类也是一个ArrangementVerticalRayShoot_2概念(concept)的一个model所以他们全都有成员方法ray_shoot_up(q)和 ray_shoot_down(q)这其中的Q是一个用来查询的point。 在头文件point_location_utils.h中有下面的辅助方法 template typename VerticalRayShooting void shoot_vertical_ray(const RayShoot vrs,const typenameVerticalRayShooting::Arrangement_2::Point_2 q) {typedef VerticalRayShooting Vertical_ray_shooting;// Perform the point-location query.typename Vertical_ray_shooting::result_type obj vrs.ray_shoot_up(q);// Print the result.typedef typename Vertical_ray_shooting::Arrangement_2 Arrangement_2;typedef typename Arrangement_2::Vertex_const_handle Vertex_const_handle;typedef typename Arrangement_2::Halfedge_const_handle Halfedge_const_handle;typedef typename Arrangement_2::Face_const_handle Face_const_handle;const Vertex_const_handle* v;const Halfedge_const_handle* e;const Face_const_handle* f;std::cout Shooting up from ( q ) : ;if (v boost::getVertex_const_handle(obj)) // we hit a vertexstd::cout hit (((*v)-is_isolated()) ? an isolated : a) vertex: (*v)-point() std::endl;else if (e boost::getHalfedge_const_handle(obj)) // we hit an edgestd::cout hit an edge: (*e)-curve() std::endl;else if (f boost::getFace_const_handle(obj)) { // we hit nothingCGAL_assertion((*f)-is_unbounded());std::cout hit nothing.\n;}else CGAL_error(); } 下面的程序段使用了上面的函数模式在一个Arrangement上执行垂直射线扫描查询 // Answering vertical ray-shooting queries. #include CGAL/basic.h #include CGAL/Arr_walk_along_line_point_location.h #include CGAL/Arr_trapezoid_ric_point_location.h #include arr_inexact_construction_segments.h #include point_location_utils.h typedef CGAL::Arr_walk_along_line_point_locationArrangement Walk_pl; typedef CGAL::Arr_trapezoid_ric_point_locationArrangement Trap_pl; int main() {// Construct the arrangement.Arrangement arr;construct_segments_arr(arr);// Perform some vertical ray-shooting queries using the walk strategy.Walk_pl walk_pl(arr);shoot_vertical_ray(walk_pl, Point(1, 4));shoot_vertical_ray(walk_pl, Point(4, 3));shoot_vertical_ray(walk_pl, Point(6, 3));// Attach the trapezoid-RIC object to the arrangement and perform queries.Trap_pl trap_pl(arr);shoot_vertical_ray(trap_pl, Point(3, 2));shoot_vertical_ray(trap_pl, Point(5, 2));shoot_vertical_ray(trap_pl, Point(1, 0));return 0; }
http://www.w-s-a.com/news/101072/

相关文章:

  • 直播网站模板新营销平台电商网站
  • 建设部指定招标网站免费的企业查询软件
  • 做前端常用的网站及软件下载平台优化是什么意思
  • 企石镇仿做网站wordpress 网站白屏
  • 班级网站建设规划书专业定制网红变色杯
  • 上海网站设计公司电话甘肃路桥建设集团有限公司官方网站
  • 哈尔滨网站建设网站开发陕西省建设监理工程协会网站
  • 微信公众号电商网站开发wordpress增加论坛
  • 网站建设视频百度网盘下载免费wordpress搭建
  • 哈尔滨市网站建设公司汕头市公司网站建设平台
  • 东莞网站建设方案外包甘肃两学一做网站
  • 网站建设优化排名推广平面设计职业学校
  • 网后台的网站怎么做网站代理商
  • 网站如何转移到新的空间服务器上手机无人区离线地图app
  • 网站建设模板的买域名做网站的坏处
  • 长春做网站qianceyun做景观素材有哪几个网站
  • 自己建的网站也要注册域名吗邯郸市做网站
  • 天津网站建设制作软件潍坊个人做网站
  • 重庆城市建设集团官方网站php用什么做网站服务器
  • 深圳坪山站重庆市园林建设有限公司网站
  • 网站建设图片教程如何用自己的电脑建网站
  • 《网页设计与网站建设》A卷答案广东新闻联播
  • 海南专业网站运营托管wordpress 去掉主题
  • 企业品牌网站制作甜品制作网站
  • 手机网站怎么制作影响力网站建设
  • 猪八戒网站做私活赚钱吗一尊网 又一个wordpress站点
  • 上海市做网站的公司滨州哪里做网站
  • 简单的网站建设步骤wordpress 贴吧主题
  • 金泉网做网站找谁表格做网站
  • 北京做兼职从哪个网站好江西省建设监督网站电子网