#include </home/runner/work/OrcaSlicer/OrcaSlicer/src/libslic3r/Arachne/utils/PolygonsSegmentIndex.hpp>
Public Member Functions | |
| PolygonsSegmentIndex () | |
| PolygonsSegmentIndex (const Polygons *polygons, unsigned int poly_idx, unsigned int point_idx) | |
| Point | from () const |
| Point | to () const |
| Point | p () const |
| bool | initialized () const |
| Returns whether this point is initialised. | |
| const Polygon & | getPolygon () const |
| bool | operator== (const PathsPointIndex &other) const |
| bool | operator!= (const PathsPointIndex &other) const |
| bool | operator< (const PathsPointIndex &other) const |
| PathsPointIndex & | operator++ () |
| move the iterator forward (and wrap around at the end) | |
| PathsPointIndex & | operator-- () |
| move the iterator backward (and wrap around at the beginning) | |
| PathsPointIndex | next () const |
| move the iterator forward (and wrap around at the end) | |
| PathsPointIndex | prev () const |
| move the iterator backward (and wrap around at the beginning) | |
Public Attributes | |
| const Polygons * | polygons |
| unsigned int | poly_idx |
| The index of the polygon in PolygonsPointIndex::polygons. | |
| unsigned int | point_idx |
| The index of the point in the polygon in PolygonsPointIndex::polygons. | |
A class for iterating over the points in one of the polygons in a Polygons object
|
inline |
|
inline |
References Slic3r::Arachne::PathsPointIndex< Polygons >::point_idx, Slic3r::Arachne::PathsPointIndex< Polygons >::poly_idx, and Slic3r::Arachne::PathsPointIndex< Polygons >::polygons.
|
inline |
References Slic3r::Arachne::PathsPointIndex< Polygons >::p().
Referenced by boost::polygon::segment_traits< Slic3r::Arachne::PolygonsSegmentIndex >::get().
|
inlineinherited |
Get the polygon to which this PolygonsPointIndex refers
|
inlineinherited |
|
inlineinherited |
move the iterator forward (and wrap around at the end)
References PathsPointIndex().
Referenced by Slic3r::Arachne::PolygonsSegmentIndex::to().
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
References PathsPointIndex(), and Slic3r::Arachne::PathsPointIndex< Paths >::p().
|
inlineinherited |
Test whether two iterators refer to the same polygon in the same polygon list.
| other | The PolygonsPointIndex to test for equality |
References PathsPointIndex(), Slic3r::Arachne::PathsPointIndex< Paths >::point_idx, point_idx, Slic3r::Arachne::PathsPointIndex< Paths >::poly_idx, poly_idx, Slic3r::Arachne::PathsPointIndex< Paths >::polygons, and polygons.
|
inlineinherited |
References Slic3r::Arachne::make_point(), point_idx, poly_idx, and polygons.
Referenced by Slic3r::Arachne::PolygonsSegmentIndex::from().
|
inlineinherited |
move the iterator backward (and wrap around at the beginning)
References PathsPointIndex().
|
inline |
References Slic3r::Arachne::PathsPointIndex< Polygons >::next(), and Slic3r::Arachne::PathsPointIndex< Paths >::p().
Referenced by boost::polygon::segment_traits< Slic3r::Arachne::PolygonsSegmentIndex >::get().
|
inherited |
The index of the point in the polygon in PolygonsPointIndex::polygons.
Referenced by PathsPointIndex(), PathsPointIndex(), Slic3r::Arachne::PolygonsSegmentIndex::PolygonsSegmentIndex(), operator++(), operator--(), operator=(), operator==(), and p().
|
inherited |
The index of the polygon in PolygonsPointIndex::polygons.
Referenced by PathsPointIndex(), PathsPointIndex(), Slic3r::Arachne::PolygonsSegmentIndex::PolygonsSegmentIndex(), getPolygon(), operator++(), operator--(), operator=(), operator==(), and p().
|
inherited |
The polygons into which this index is indexing.
Referenced by PathsPointIndex(), PathsPointIndex(), Slic3r::Arachne::PolygonsSegmentIndex::PolygonsSegmentIndex(), getPolygon(), initialized(), operator++(), operator=(), operator==(), and p().