CGAL 5.6.1 - Triangulated Surface Mesh Simplification
CGAL::Surface_mesh_simplification::Polyhedral_envelope_filter< GeomTraits, Filter > Class Template Reference

#include <CGAL/Surface_mesh_simplification/Policies/Edge_collapse/Polyhedral_envelope_filter.h>

Definition

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
Filtermust 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

Public Types

typedef Geom_traits::FT FT
 The number type.
 

Creation

 Polyhedral_envelope_filter ()
 Default constructor
 
 Polyhedral_envelope_filter (const FT &dist, const Filter &filter)
 Constructor. More...
 

Operations

boost::optional< typename Edge_profile::Pointoperator() (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.
 

Constructor & Destructor Documentation

◆ Polyhedral_envelope_filter()

template<typename GeomTraits , typename Filter >
CGAL::Surface_mesh_simplification::Polyhedral_envelope_filter< GeomTraits, Filter >::Polyhedral_envelope_filter ( const FT dist,
const Filter &  filter 
)

Constructor.

Parameters
distis the parameter given to the polyhedral envelope
filteris the filter that will be filtered.