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. More...
Extra: The geometric traits class must be compatible with the vertex point type.
Returns
sum of face areas of faces. The return type FT is a number type either deduced from the geom_traitsNamed Parameters if provided, or the geometric traits class deduced from the point property map of tmesh.
Warning
This function involves a square root computation. If Kernel::FT does not support the sqrt() operation, the square root computation will be performed approximately.
Extra: The geometric traits class must be compatible with the vertex point type.
Returns
the surface area of tmesh. The return type FT is a number type either deduced from the geom_traitsNamed Parameters if provided, or the geometric traits class deduced from the point property map of tmesh.
Warning
This function involves a square root computation. If Kernel::FT does not support the sqrt() operation, the square root computation will be performed approximately.
Extra: The geometric traits class must be compatible with the vertex point type.
Returns
the length of h. The return type FT is a number type either deduced from the geom_traitsNamed Parameters if provided, or the geometric traits class deduced from the point property map of pmesh.
Warning
This function involves a square root computation. If FT does not support the sqrt() operation, the square root computation will be performed approximately.
Extra: The geometric traits class must be compatible with the vertex point type.
Precondition
f != boost::graph_traits<TriangleMesh>::null_face()
Returns
the area of f. The return type FT is a number type either deduced from the geom_traitsNamed Parameters if provided, or the geometric traits class deduced from the point property map of tmesh.
Warning
This function involves a square root computation. If Kernel::FT does not support the sqrt() operation, the square root computation will be performed approximately.
Extra: The geometric traits class must be compatible with the vertex point type.
Precondition
f != boost::graph_traits<TriangleMesh>::null_face()
Returns
the aspect ratio of f. The return type FT is a number type either deduced from the geom_traitsNamed Parameters if provided, or the geometric traits class deduced from the point property map of tmesh.
Warning
This function involves a square root computation. If Kernel::FT does not support the sqrt() operation, the square root computation will be performed approximately.
Extra: The geometric traits class must be compatible with the vertex point type.
Returns
the length of the sequence of border edges of face(h, pmesh). The return type FT is a number type either deduced from the geom_traitsNamed Parameters if provided, or the geometric traits class deduced from the point property map of pmesh.
Warning
This function involves a square root computation. If Kernel::FT does not support the sqrt() operation, the square root computation will be performed approximately.
Extra: The geometric traits class must be compatible with the vertex point type.
Returns
a pair composed of two members:
first: a halfedge on the longest border. The return type halfedge_descriptor is a halfedge descriptor. It is deduced from the graph traits corresponding to the type PolygonMesh. first is among the halfedges reported by extract_boundary_cycles().
second: the length of the longest border The return type FT is a number type either deduced from the geom_traitsNamed Parameters if provided, or the geometric traits class deduced from the point property map of pmesh
Warning
This function involves a square root computation. If Kernel::FT does not support the sqrt() operation, the square root computation will be performed approximately.
output iterator collecting the faces that are common to both meshes
m1_only
output iterator collecting the faces that are only in m1
m2_only
output iterator collecting the faces that are only in m2
np1
an optional sequence of Named Parameters among the ones listed below
np2
an optional sequence of Named Parameters among the ones listed below
Optional Named Parameters
a property map associating points to the vertices of m1
Type: a class model of ReadablePropertyMap with boost::graph_traits<PolygonMesh1>::vertex_descriptor as key type and Point_3 as value type. Point_3 must be LessThanComparable.
Default: boost::get(CGAL::vertex_point, m1)
Extra: The same holds for m2 and PolygonMesh2 and the point type must be the same for both meshes.
a property map associating to each vertex of m1 a unique index between 0 and num_vertices(m1) - 1, and similarly for m2.
Type: a class model of ReadablePropertyMap with boost::graph_traits<Graph>::vertex_descriptor as key type and std::size_t as value type
Default: an automatically indexed internal map
Extra: If this parameter is not passed, internal machinery will create and initialize a face index property map, either using the internal property map if it exists or using an external map. The latter might result in - slightly - worsened performance in case of non-constant complexity for index access. The same holds for m2 and PolygonMesh2.
Extra: The geometric traits class must be compatible with the vertex point type.
Returns
the squared length of h. The return type FT is a number type either deduced from the geom_traitsNamed Parameters if provided, or the geometric traits class deduced from the point property map of pmesh.
Extra: The geometric traits class must be compatible with the vertex point type.
Precondition
f != boost::graph_traits<TriangleMesh>::null_face()
Returns
the squared area of f. The return type FT is a number type either deduced from the geom_traitsNamed Parameters if provided, or the geometric traits class deduced from the point property map of tmesh.
Extra: The geometric traits class must be compatible with the vertex point type.
Returns
the volume bounded by tmesh. The return type FT is a number type either deduced from the geom_traitsNamed Parameters if provided, or the geometric traits class deduced from the point property map of tmesh.