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 > |
FT | CGAL::Polygon_mesh_processing::edge_length (typename boost::graph_traits< PolygonMesh >::halfedge_descriptor h, const PolygonMesh &pmesh, const NamedParameters &np) |
| computes the length of an edge of a given polygon mesh. More...
|
|
template<typename PolygonMesh , typename NamedParameters > |
FT | CGAL::Polygon_mesh_processing::face_border_length (typename boost::graph_traits< PolygonMesh >::halfedge_descriptor h, const PolygonMesh &pmesh, const NamedParameters &np) |
| computes the length of the border polyline that contains a given halfedge. More...
|
|
template<typename PolygonMesh , typename NamedParameters > |
std::pair< halfedge_descriptor, FT > | CGAL::Polygon_mesh_processing::longest_border (const PolygonMesh &pmesh, const NamedParameters &np) |
| finds the longest border of a given triangulated surface and returns a halfedge that is part of this border and the length of this border. More...
|
|
template<typename TriangleMesh , typename NamedParameters > |
FT | CGAL::Polygon_mesh_processing::face_area (typename boost::graph_traits< TriangleMesh >::face_descriptor f, const TriangleMesh &tmesh, const NamedParameters &np) |
| computes the area of a face of a given triangulated surface mesh. More...
|
|
template<typename FaceRange , typename TriangleMesh , typename NamedParameters > |
FT | CGAL::Polygon_mesh_processing::area (FaceRange face_range, const TriangleMesh &tmesh, const NamedParameters &np) |
| computes the area of a range of faces of a given triangulated surface mesh. More...
|
|
template<typename TriangleMesh , typename NamedParameters > |
FT | CGAL::Polygon_mesh_processing::area (const TriangleMesh &tmesh, const NamedParameters &np) |
| computes the surface area of a triangulated surface mesh. More...
|
|
template<typename TriangleMesh , typename NamedParameters > |
FT | CGAL::Polygon_mesh_processing::volume (const TriangleMesh &tmesh, const NamedParameters &np) |
| computes the volume of the domain bounded by a closed triangulated surface mesh. More...
|
|
template<typename TriangleMesh , typename NamedParameters > |
FT | CGAL::Polygon_mesh_processing::face_aspect_ratio (typename boost::graph_traits< TriangleMesh >::face_descriptor f, const TriangleMesh &tmesh, const NamedParameters &np) |
| computes the aspect ratio of a face of a given triangulated surface mesh. More...
|
|
template<typename TriangleMesh , typename NamedParameters > |
Point_3 | CGAL::Polygon_mesh_processing::centroid (const TriangleMesh &tmesh, const NamedParameters &np) |
| computes the centroid of a volume bounded by a closed triangulated surface mesh. More...
|
|