Skip to content

Instantly share code, notes, and snippets.

OFF
9401 18818 0
-12.3461 8.46315 123.478
4.83543 16.3736 135.85
3.36589 12.5065 134.283
2.72421 11.6378 134.126
3.4819 15.0075 133.744
3.72506 12.7331 134.589
3.81584 15.5954 134.5
3.17625 16.2432 134.73
OFF
1782 3146 0
-16.3072 304.575 1.43785
-25.7704 317.646 -0.26429
-25.0548 317.047 1.47247
-8.5087 319.742 2.25199
-20.7145 310.785 2.05797
-16.3541 308.482 1.50525
-21.4243 310.384 -6.60362
-32.0238 314.902 -6.64628
This file has been truncated, but you can view the full file.
mtllib ./Model_L13.mtl
v 15.737639 343.349518 -3.179394
v 42.538754 295.668884 3.352802
v 1.308356 323.952454 2.042387
v 14.501361 315.887482 28.138367
v 4.982485 343.983887 -2.905056
v 6.112529 356.518158 2.080581
v 26.140989 327.492188 57.366600
v 18.732656 339.099701 51.672276
OFF
10397 20467 0
6.11253 356.518 2.08058
24.8493 337.743 38.3964
35.3519 353.402 -3.22914
25.9818 351.588 0.899691
27.7603 304.231 -2.40279
30.9997 301.931 -2.74145
29.7844 321.581 -2.972
#include <CGAL/Exact_predicates_inexact_constructions_kernel.h>
#include <CGAL/Polygon_mesh_processing/clip.h>
#include <CGAL/Surface_mesh.h>
#include <CGAL/Polyhedron_3.h>
#include <CGAL/Polygon_mesh_processing/bbox.h>
#include <iostream>
#include <fstream>
#include<geogram/mesh/mesh_geometry.h>
#include<geogram/mesh/mesh_io.h>
#include <CGAL/Exact_predicates_inexact_constructions_kernel.h>
#include <CGAL/Surface_mesh.h>
#include <CGAL/Polygon_mesh_processing/border.h>
#include <boost/function_output_iterator.hpp>
#include <fstream>
#include <vector>
#include <CGAL/Surface_mesh_simplification/Edge_collapse_visitor_base.h>
#include <CGAL/Simple_cartesian.h>
#include <CGAL/Surface_mesh.h>
#include <iostream>
#include <fstream>
#include <CGAL/Simple_cartesian.h>
#include <CGAL/Surface_mesh.h>
// Simplification function
#include <CGAL/Surface_mesh_simplification/edge_collapse.h>
// Visitor base
#include <CGAL/Surface_mesh_simplification/Edge_collapse_visitor_base.h>
// Stop-condition policy
#include <CGAL/Surface_mesh_simplification/Policies/Edge_collapse/Count_ratio_stop_predicate.h>