cgal_types1.h
来自「CGAL is a collaborative effort of severa」· C头文件 代码 · 共 35 行
H
35 行
#include <CGAL/basic.h>#include <CGAL/Cartesian.h>#include <CGAL/point_generators_2.h>//#include <CGAL/Largest_empty_iso_rectangle_2.h>#include <CGAL/MP_Float.h>#include <CGAL/Quotient.h>#include <CGAL/Arr_2_default_dcel.h>#include <CGAL/Arr_segment_traits_2.h>#include <CGAL/Arrangement_2.h>#include <CGAL/squared_distance_2.h>typedef CGAL::Quotient<CGAL::MP_Float> Coord_type;typedef CGAL::Cartesian<Coord_type> Rep;typedef Rep::Point_2 Point;typedef Rep::Segment_2 Segment;//typedef Rep::Iso_rectangle_2 Iso_rectangle_2;typedef CGAL::Quotient<CGAL::MP_Float> NT;typedef CGAL::Cartesian<NT> Kernel;typedef CGAL::Arr_segment_traits_2<Kernel> Traits;//typedef Traits::Point_2 Point;typedef Traits::Curve_2 Curve;typedef Traits::X_monotone_curve_2 X_curve;typedef CGAL::Arr_2_default_dcel<Traits> Dcel;//typedef CGAL::Planar_map_2<Dcel,Traits> Pm;//typedef CGAL::Planar_map_with_intersections_2<Pm> Pmwx;typedef CGAL::Arr_base_node<Curve, X_curve> Base_node;typedef CGAL::Arrangement_2<Dcel, Traits, Base_node> Arr;
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?