Go to the documentation of this file.
14 #include <CGAL/Cartesian.h>
15 #include <CGAL/Polyhedron_3.h>
16 #include <CGAL/IO/Polyhedron_iostream.h>
17 #include <CGAL/Polyhedron_items_with_id_3.h>
29 std::ifstream in(filename);
32 std::cout <<
"Unable to read file " << filename << std::endl;
36 typedef CGAL::Cartesian< long double >
Kernel;
37 typedef CGAL::Polyhedron_3< Kernel, CGAL::Polyhedron_items_with_id_3 >
Mesh;
39 typedef Geometry::Scalar Scalar;
43 auto pos_pm =
get(boost::vertex_point, m);
46 std::cout <<
"Done." << std::endl;
50 main(
int narg,
char **argv)
54 std::cout <<
"Usage: " << argv[0]
55 <<
" filename; filename being an off file." << std::endl;
void test_calculate_scaling_polyhedron(std::string filename)
Refer to Geometry_traits_documentation_dummy for further documentation on provided types and algorith...
CGAL::Cartesian< double > Kernel
int main(int narg, char **argv)
void calculate_scaling(Graph &g, PointMap &pm, typename GeometryTraits::Scalar scale_x, typename GeometryTraits::Scalar scale_y, typename GeometryTraits::Scalar scale_z, const GeometryTraits >)
Scale a mesh.
FEVV::PCLPointCloudPointMap::value_type get(const FEVV::PCLPointCloudPointMap &pm, FEVV::PCLPointCloudPointMap::key_type key)
Specialization of get(point_map, key) for PCLPointCloud.
Interfaces for plugins These interfaces will be used for different plugins.
FEVV::DataStructures::AIF::AIFMesh Mesh
This class represents an AIF structure. AIF structure can deal with both manifold and non-manifold su...