The class-template Envelope_diagram_2<EnvTraits> represents the minimization diagram that corresponds to the lower envelope of a set of curves, or the maximization diagram that corresponds to their upper envelope. It is parameterized by a traits class that must be a model of the EnvelopeTraits_3 concept, and is basically a planar arrangement of -monotone curves, as defined by this traits class. These -monotone curves are the projections of boundary curves of -monotone surfaces, or the intersection curves between such surfaces, onto the -plane. Thus, it is possible to traverse the envelope diagram using the methods inherited from the Arrangement_2 class.
The envelope diagram extends the arrangement features (namely the vertices, halfedges, and faces), such that each feature stores a container of originators - namely, the -monotone surfaces (instances of the type EnvTraits::Xy_monotone_surface_3) that induce the lower envelope (or the upper envelope, in case of a maximization diagram) over this feature. The envelope diagram provides access methods to these originators.
#include <CGAL/envelope_3.h>
| ||
|
||
|
|
| |
an iterator for the -monotone surfaces that induce a diagram feature.
Its value-type is EnvTraits::Xy_monotone_surface_3.
|
| |
constructs an empty diagram containing one unbounded face,
which corresponds to the entire plane and has no originators.
| |
| |
copy constructor.
| |
| |
constructs an empty diagram that uses the given traits
instance for performing the geometric predicates.
|
|
| returns the number of -monotone surfaces that induce e. | ||
|
| returns an iterator for the first -monotone surface that induces e. | ||
|
| returns a past-the-end iterator for the -monotone surfaces that induce e. | ||
|
|
returns the first -monotone surface that induce e.
|
|
| returns the number of -monotone surfaces that induce f. | ||
|
| returns an iterator for the first -monotone surface that induces f. | ||
|
| returns a past-the-end iterator for the -monotone surfaces that induce f. | ||
|
|
returns the first -monotone surface that induce f.
|