|
mmcfilters
Public API documentation
|
Immutable projection of ordered contour edges onto support pixels. More...
#include <ContourTrace.hpp>
Classes | |
| class | iterator |
| Forward iterator that returns the support pixel of each edge. More... | |
Public Member Functions | |
| ContourPixelRange (ContourEdgeRange edges) | |
| Creates a support-pixel projection of an edge range. | |
| iterator | begin () const |
| Returns an iterator to the first edge pixel. | |
| iterator | end () const |
| Returns the exclusive end iterator. | |
| bool | empty () const noexcept |
| Returns whether the range contains no pixels. | |
| std::size_t | size () const noexcept |
| Returns the number of projected edge pixels, including repetitions. | |
Immutable projection of ordered contour edges onto support pixels.
One pixel is yielded for each edge. A pixel can therefore occur more than once when different edges occupy different sides of that pixel.
Definition at line 168 of file ContourTrace.hpp.
|
inlineexplicit |
Creates a support-pixel projection of an edge range.
| edges | Ordered source edges. |
Definition at line 218 of file ContourTrace.hpp.
|
inline |
Returns an iterator to the first edge pixel.
Definition at line 221 of file ContourTrace.hpp.
|
inlinenoexcept |
Returns whether the range contains no pixels.
Definition at line 227 of file ContourTrace.hpp.
|
inline |
Returns the exclusive end iterator.
Definition at line 224 of file ContourTrace.hpp.
|
inlinenoexcept |
Returns the number of projected edge pixels, including repetitions.
Definition at line 230 of file ContourTrace.hpp.