Go to the documentation of this file.
14 #include <CGAL/Surface_mesh.h>
15 #include <CGAL/Cartesian.h>
27 std::ifstream in(filename);
30 std::cout <<
"Unable to read file " << filename << std::endl;
34 typedef CGAL::Cartesian< double >
Kernel;
35 typedef CGAL::Surface_mesh< Kernel::Point_3 >
Mesh;
37 typedef Geometry::Scalar Scalar;
41 auto pos_pm =
get(boost::vertex_point, m);
44 std::cout <<
"Done." << std::endl;
48 main(
int narg,
char **argv)
52 std::cout <<
"Usage: " << argv[0]
53 <<
" filename; filename being an off file." << std::endl;
void test_calculate_scaling_surface_mesh(std::string filename)
Refer to Geometry_traits_documentation_dummy for further documentation on provided types and algorith...
CGAL::Cartesian< double > Kernel
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.
int main(int narg, char **argv)
FEVV::DataStructures::AIF::AIFMesh Mesh
This class represents an AIF structure. AIF structure can deal with both manifold and non-manifold su...