#include <CGAL/Surface_mesh_simplification/Policies/Edge_collapse/Polyhedral_envelope_filter.h>
The class Polyhedral_envelope_filter
is a model for the PlacementFilter
concept.
It rejects the placement if the nested filter rejects it, or if any triangle in the profile is not inside the polyhedral envelope, in this order.
- Template Parameters
-
Filter | must be a model of the concept PlacementFilter . It defaults to a class that does not filter any placement. |
- Is Model Of:
PlacementFilter
- See also
Polyhedral_envelope
|
typedef Geom_traits::FT | FT |
| The number type.
|
|
|
boost::optional< typename Edge_profile::Point > | operator() (const Edge_profile &profile, boost::optional< typename Profile::Point > op) const |
| returns the placement, if it does not get filtered by the wrapped filter, and if all triangles in the profile are inside the polyhedral envelope.
|
|
◆ Polyhedral_envelope_filter()
template<typename GeomTraits , typename Filter >
Constructor.
- Parameters
-
dist | is the parameter given to the polyhedral envelope |
filter | is the filter that will be filtered. |