Functions to compute lengths of edges and borders, areas of faces and patches, as well as volumes of closed meshes.
|
template<typename PolygonMesh , typename NamedParameters = parameters::Default_named_parameters> |
FT | CGAL::Polygon_mesh_processing::edge_length (typename boost::graph_traits< PolygonMesh >::halfedge_descriptor h, const PolygonMesh &pmesh, const NamedParameters &np=parameters::default_values()) |
| computes the length of an edge of a given polygon mesh.
|
|
template<typename PolygonMesh , typename NamedParameters = parameters::Default_named_parameters> |
FT | CGAL::Polygon_mesh_processing::squared_edge_length (typename boost::graph_traits< PolygonMesh >::halfedge_descriptor h, const PolygonMesh &pmesh, const NamedParameters &np=parameters::default_values()) |
| computes the squared length of an edge of a given polygon mesh.
|
|
template<typename PolygonMesh , typename NamedParameters = parameters::Default_named_parameters> |
FT | CGAL::Polygon_mesh_processing::face_border_length (typename boost::graph_traits< PolygonMesh >::halfedge_descriptor h, const PolygonMesh &pmesh, const NamedParameters &np=parameters::default_values()) |
| computes the length of the border polyline that contains a given halfedge.
|
|
template<typename PolygonMesh , typename NamedParameters = parameters::Default_named_parameters> |
std::pair< halfedge_descriptor, FT > | CGAL::Polygon_mesh_processing::longest_border (const PolygonMesh &pmesh, const NamedParameters &np=parameters::default_values()) |
| finds the longest border of a given triangulated surface and returns a halfedge that is part of this border as well as the length of this border.
|
|
template<typename TriangleMesh , typename NamedParameters = CGAL::parameters::Default_named_parameters> |
FT | CGAL::Polygon_mesh_processing::face_area (typename boost::graph_traits< TriangleMesh >::face_descriptor f, const TriangleMesh &tmesh, const NamedParameters &np=parameters::default_values()) |
| computes the area of a face of a given triangulated surface mesh.
|
|
template<typename TriangleMesh , typename NamedParameters = CGAL::parameters::Default_named_parameters> |
FT | CGAL::Polygon_mesh_processing::squared_face_area (typename boost::graph_traits< TriangleMesh >::face_descriptor f, const TriangleMesh &tmesh, const NamedParameters &np=parameters::default_values()) |
| computes the squared area of a face of a given triangulated surface mesh.
|
|
template<typename FaceRange , typename TriangleMesh , typename NamedParameters = CGAL::parameters::Default_named_parameters> |
FT | CGAL::Polygon_mesh_processing::area (FaceRange face_range, const TriangleMesh &tmesh, const NamedParameters &np=parameters::default_values()) |
| computes the area of a range of faces of a given triangulated surface mesh.
|
|
template<typename TriangleMesh , typename NamedParameters = CGAL::parameters::Default_named_parameters> |
FT | CGAL::Polygon_mesh_processing::area (const TriangleMesh &tmesh, const NamedParameters &np=parameters::default_values()) |
| computes the surface area of a triangulated surface mesh.
|
|
template<typename TriangleMesh , typename NamedParameters = CGAL::parameters::Default_named_parameters> |
FT | CGAL::Polygon_mesh_processing::volume (const TriangleMesh &tmesh, const NamedParameters &np=parameters::default_values()) |
| computes the volume of the domain bounded by a closed triangulated surface mesh.
|
|
template<typename TriangleMesh , typename NamedParameters = CGAL::parameters::Default_named_parameters> |
FT | CGAL::Polygon_mesh_processing::face_aspect_ratio (typename boost::graph_traits< TriangleMesh >::face_descriptor f, const TriangleMesh &tmesh, const NamedParameters &np=parameters::default_values()) |
| computes the aspect ratio of a face of a given triangulated surface mesh.
|
|
template<typename TriangleMesh , typename NamedParameters = CGAL::parameters::Default_named_parameters> |
Point_3 | CGAL::Polygon_mesh_processing::centroid (const TriangleMesh &tmesh, const NamedParameters &np=parameters::default_values()) |
| computes the centroid of a volume bounded by a closed triangulated surface mesh.
|
|
template<typename PolygonMesh1 , typename PolygonMesh2 , typename FacePairOutputIterator , typename FaceOutputIterator1 , typename FaceOutputIterator2 , typename NamedParameters1 = parameters::Default_named_parameters, typename NamedParameters2 = parameters::Default_named_parameters> |
void | CGAL::Polygon_mesh_processing::match_faces (const PolygonMesh1 &m1, const PolygonMesh2 &m2, FacePairOutputIterator common, FaceOutputIterator1 m1_only, FaceOutputIterator2 m2_only, const NamedParameters1 &np1=parameters::default_values(), const NamedParameters2 &np2=parameters::default_values()) |
| identifies faces only present in m1 and m2 as well as the faces present in both polygon meshes.
|
|
template<typename TriangleMesh , typename FT , typename NamedParameters = CGAL::parameters::Default_named_parameters> |
std::pair< std::pair< edge_descriptor, FT >, std::pair< edge_descriptor, FT > > | CGAL::Polygon_mesh_processing::minmax_dihedral_angle (const TriangleMesh &pmesh, const NamedParameters &np=parameters::default_values()) |
| detects the edges with the smallest and largest dihedral angle in degrees.
|
|