This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <vector> | |
#include <boost/foreach.hpp> | |
#include <CGAL/Simple_cartesian.h> | |
#include <CGAL/Surface_mesh.h> | |
#include <CGAL/centroid.h> | |
typedef CGAL::Simple_cartesian<double> K; | |
typedef CGAL::Surface_mesh<K::Point_3> Mesh; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <fstream> | |
#include <cassert> | |
// example that uses the filtered traits, | |
// the segment Delaunay graph and the spatial sorting | |
// choose the kernel | |
#include <CGAL/Simple_cartesian.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <CGAL/Exact_predicates_inexact_constructions_kernel.h> | |
#include <CGAL/Mesh_triangulation_3.h> | |
#include <CGAL/Mesh_complex_3_in_triangulation_3.h> | |
#include <CGAL/Mesh_criteria_3.h> | |
#include <CGAL/Labeled_image_mesh_domain_3.h> | |
#include <CGAL/make_mesh_3.h> | |
#include <CGAL/Image_3.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <CGAL/leda_real.h> | |
#include <CGAL/CORE_Expr.h> | |
#include <CGAL/Lazy_exact_nt.h> | |
std::ostream& operator<<(std::ostream& os, std::pair<double,double> p) | |
{ | |
os << p.first << ", " << p.second; | |
return os; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <CGAL/Exact_predicates_inexact_constructions_kernel.h> | |
#include <CGAL/Constrained_Delaunay_triangulation_2.h> | |
// mesh refinement | |
#include <CGAL/Delaunay_mesher_2.h> | |
#include <CGAL/Delaunay_mesh_face_base_2.h> | |
#include <CGAL/Delaunay_mesh_size_criteria_2.h> | |
typedef CGAL::Exact_predicates_inexact_constructions_kernel meshTriKernel; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <CGAL/Exact_predicates_inexact_constructions_kernel.h> | |
#include <CGAL/Mesh_triangulation_3.h> | |
#include <CGAL/Mesh_complex_3_in_triangulation_3.h> | |
#include <CGAL/Mesh_criteria_3.h> | |
#include <CGAL/Polyhedral_mesh_domain_3.h> | |
#include <CGAL/make_mesh_3.h> | |
#include <CGAL/refine_mesh_3.h> | |
#include <CGAL/grid_simplify_point_set.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <CGAL/Exact_predicates_inexact_constructions_kernel.h> | |
#include <CGAL/Polygon_mesh_processing/remesh.h> | |
#include <boost/function_output_iterator.hpp> | |
#include <CGAL/Polyhedron_3.h> | |
#include <CGAL/boost/graph/graph_traits_Polyhedron_3.h> | |
#include <CGAL/Polyhedron_items_with_id_3.h> | |
#include <fstream> | |
#include <vector> | |
typedef CGAL::Exact_predicates_inexact_constructions_kernel K; | |
typedef CGAL::Polyhedron_3<K, CGAL::Polyhedron_items_with_id_3> Poly; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <fstream> | |
#include <CGAL/Simple_cartesian.h> | |
#include <CGAL/AABB_tree.h> | |
#include <CGAL/AABB_traits.h> | |
#include <CGAL/Surface_mesh.h> | |
#include <CGAL/AABB_face_graph_triangle_primitive.h> | |
#include <CGAL/Polygon_mesh_processing/compute_normal.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <CGAL/Simple_cartesian.h> | |
#include <CGAL/Polyhedron_3.h> | |
#include <CGAL/Polygon_mesh_processing/polygon_soup_to_polygon_mesh.h> | |
#include <iostream> | |
#include <vector> | |
typedef CGAL::Simple_cartesian<double> Kernel; | |
typedef CGAL::Polyhedron_3<Kernel> Polyhedron; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <CGAL/Cartesian.h> | |
#include <CGAL/Algebraic_kernel_for_circles_2_2.h> | |
#include <CGAL/Circular_kernel_2.h> | |
int main() | |
{ | |
typedef CGAL::Quotient<int> NT1; | |
typedef CGAL::Cartesian<NT1> Linear_k1; |
OlderNewer