|
CGAL 6.3 - 2D Envelopes
|
This package consists of functions that compute the lower (or upper) envelope of a set of arbitrary curves in 2D. The output is represented as an envelope diagram, namely a subdivision of the \( x\)-axis into intervals, such that the identity of the curves that induce the envelope over each interval is unique.
Topics | |
| Concepts | |
Classes | |
| class | CGAL::Envelope_2::Envelope_diagram_1< Traits_2, Allocator > |
| This class is the default envelope-diagram class used by envelope functions to represent the minimization or the maximization diagram of a set of curves in the plane. More... | |
Functions | |
| template<typename InputIterator, typename EnvelopeDiagram> | |
| void | CGAL::Envelope_2::lower_envelope_2 (InputIterator begin, InputIterator end, EnvelopeDiagram &diag) |
| computes the lower envelope of a set of curves in \(\mathbb{R}^2\), given by the range [begin, end). | |
| template<typename InputIterator, typename EnvelopeDiagram> | |
| void | CGAL::Envelope_2::lower_envelope_x_monotone_2 (InputIterator begin, InputIterator end, EnvelopeDiagram &diag) |
| computes the lower envelope of a set of \(x\)-monotone curves in \(\mathbb{R}^2\), given by the range [begin, end). | |
| template<typename InputIterator, typename EnvelopeDiagram, typename Traits> | |
| void | CGAL::Envelope_2::lower_envelope_x_monotone_2 (InputIterator begin, InputIterator end, EnvelopeDiagram &diag, const Traits &traits) |
| computes the lower envelope of a set of \(x\)-monotone curves in \(\mathbb{R}^2\), given by the range [begin, end) with the help of the arrangement traits object traits responsible for their creation. | |
| template<typename InputIterator, typename EnvelopeDiagram> | |
| void | CGAL::Envelope_2::upper_envelope_2 (InputIterator begin, InputIterator end, EnvelopeDiagram &diag) |
| computes the upper envelope of a set of curves in \(\mathbb{R}^2\), given by the range [begin, end). | |
| template<typename InputIterator, typename EnvelopeDiagram> | |
| void | CGAL::Envelope_2::upper_envelope_x_monotone_2 (InputIterator begin, InputIterator end, EnvelopeDiagram &diag) |
| computes the upper envelope of a set of \(x\)-monotone curves in \(\mathbb{R}^2\), given by the range [begin, end). | |
| template<typename InputIterator, typename EnvelopeDiagram, typename Traits> | |
| void | CGAL::Envelope_2::upper_envelope_x_monotone_2 (InputIterator begin, InputIterator end, EnvelopeDiagram &diag, const Traits &traits) |
| computes the upper envelope of a set of \(x\)-monotone curves in \(\mathbb{R}^2\), given by the range [begin, end) with the help of the arrangement traits object traits responsible for their creation. | |
| void CGAL::Envelope_2::lower_envelope_2 | ( | InputIterator | begin, |
| InputIterator | end, | ||
| EnvelopeDiagram & | diag ) |
#include <CGAL/envelope_2.h>
computes the lower envelope of a set of curves in \(\mathbb{R}^2\), given by the range [begin, end).
The lower envelope is represented using the output minimization diagram diag.
| InputIterator | must be an input iterator with value type EnvelopeDiagram::Traits_2::Curve_2. |
| EnvelopeDiagram | must be a model of the concept EnvelopeDiagram_1. |
| void CGAL::Envelope_2::lower_envelope_x_monotone_2 | ( | InputIterator | begin, |
| InputIterator | end, | ||
| EnvelopeDiagram & | diag ) |
#include <CGAL/envelope_2.h>
computes the lower envelope of a set of \(x\)-monotone curves in \(\mathbb{R}^2\), given by the range [begin, end).
The lower envelope is represented using the output minimization diagram diag.
| InputIterator | must be an input iterator with value type EnvelopeDiagram::X_monotone_curve_2. |
| EnvelopeDiagram | must be a model of the concept EnvelopeDiagram_1. |
| void CGAL::Envelope_2::lower_envelope_x_monotone_2 | ( | InputIterator | begin, |
| InputIterator | end, | ||
| EnvelopeDiagram & | diag, | ||
| const Traits & | traits ) |
#include <CGAL/envelope_2.h>
computes the lower envelope of a set of \(x\)-monotone curves in \(\mathbb{R}^2\), given by the range [begin, end) with the help of the arrangement traits object traits responsible for their creation.
Reusing the same traits object improves speed if the traits class caches data. The lower envelope is represented using the output minimization diagram diag.
| InputIterator | must be an input iterator with value type EnvelopeDiagram::X_monotone_curve_2. |
| EnvelopeDiagram | must be a model of the concept EnvelopeDiagram_1. |
| Traits | must be a model of the concept AosXMonotoneTraits_2. |
| void CGAL::Envelope_2::upper_envelope_2 | ( | InputIterator | begin, |
| InputIterator | end, | ||
| EnvelopeDiagram & | diag ) |
#include <CGAL/envelope_2.h>
computes the upper envelope of a set of curves in \(\mathbb{R}^2\), given by the range [begin, end).
The upper envelope is represented using the output maximization diagram diag.
| InputIterator | must be an input iterator with value type EnvelopeDiagram::Traits_2::Curve_2. |
| EnvelopeDiagram | must be a model of the concept EnvelopeDiagram_1. |
| void CGAL::Envelope_2::upper_envelope_x_monotone_2 | ( | InputIterator | begin, |
| InputIterator | end, | ||
| EnvelopeDiagram & | diag ) |
#include <CGAL/envelope_2.h>
computes the upper envelope of a set of \(x\)-monotone curves in \(\mathbb{R}^2\), given by the range [begin, end).
The upper envelope is represented using the output maximization diagram diag.
| InputIterator | must be an input iterator with value type EnvelopeDiagram::X_monotone_curve_2. |
| EnvelopeDiagram | must be a model of the concept EnvelopeDiagram_1. |
| void CGAL::Envelope_2::upper_envelope_x_monotone_2 | ( | InputIterator | begin, |
| InputIterator | end, | ||
| EnvelopeDiagram & | diag, | ||
| const Traits & | traits ) |
#include <CGAL/envelope_2.h>
computes the upper envelope of a set of \(x\)-monotone curves in \(\mathbb{R}^2\), given by the range [begin, end) with the help of the arrangement traits object traits responsible for their creation.
Reusing the same traits object improves speed if the traits class caches data. The upper envelope is represented using the output maximization diagram diag.
| InputIterator | must be an input iterator with value type EnvelopeDiagram::X_monotone_curve_2. |
| EnvelopeDiagram | must be a model of the concept EnvelopeDiagram_1. |
| Traits | must be a model of the concept AosXMonotoneTraits_2. |