![]() |
Prusa Slicer 2.6.0
|
#include <src/libslic3r/Arachne/utils/PolygonsSegmentIndex.hpp>
Inheritance diagram for Slic3r::Arachne::PolygonsSegmentIndex:
Collaboration diagram for Slic3r::Arachne::PolygonsSegmentIndex: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 Paths * | 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 |
|
inline |
References Slic3r::Arachne::PathsPointIndex< Paths >::p().
Referenced by Slic3r::Arachne::SkeletalTrapezoidation::computeSegmentCellRange(), Slic3r::Arachne::detect_missing_voronoi_vertex(), and Slic3r::Geometry::get_parabolic_segment().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlineinherited |
Get the polygon to which this PolygonsPointIndex refers
References Slic3r::Arachne::PathsPointIndex< Paths >::poly_idx, and Slic3r::Arachne::PathsPointIndex< Paths >::polygons.
|
inlineinherited |
Returns whether this point is initialised.
References Slic3r::Arachne::PathsPointIndex< Paths >::polygons.
Referenced by Slic3r::Arachne::PolylineStitcher< Paths, Path, Junction >::stitch().
Here is the caller graph for this function:
|
inlineinherited |
move the iterator forward (and wrap around at the end)
Referenced by Slic3r::Arachne::SkeletalTrapezoidation::computePointCellRange(), boost::polygon::segment_traits< Slic3r::Arachne::PolygonsSegmentIndex >::get(), and to().
Here is the caller graph for this function:
|
inlineinherited |
|
inlineinherited |
move the iterator forward (and wrap around at the end)
References Slic3r::Arachne::PathsPointIndex< Paths >::point_idx, Slic3r::Arachne::PathsPointIndex< Paths >::poly_idx, and Slic3r::Arachne::PathsPointIndex< Paths >::polygons.
|
inlineinherited |
move the iterator backward (and wrap around at the beginning)
References Slic3r::Arachne::PathsPointIndex< Paths >::point_idx, and Slic3r::Arachne::PathsPointIndex< Paths >::poly_idx.
|
inlineinherited |
References Slic3r::Arachne::PathsPointIndex< Paths >::p().
Here is the call graph for this function:
|
inlineinherited |
Test whether two iterators refer to the same polygon in the same polygon list.
| other | The PolygonsPointIndex to test for equality |
References Slic3r::Arachne::PathsPointIndex< Paths >::point_idx, Slic3r::Arachne::PathsPointIndex< Paths >::poly_idx, and Slic3r::Arachne::PathsPointIndex< Paths >::polygons.
|
inlineinherited |
References Slic3r::Arachne::make_point(), Slic3r::Arachne::PathsPointIndex< Paths >::point_idx, Slic3r::Arachne::PathsPointIndex< Paths >::poly_idx, and Slic3r::Arachne::PathsPointIndex< Paths >::polygons.
Referenced by Slic3r::Arachne::SkeletalTrapezoidation::computePointCellRange(), from(), boost::polygon::segment_traits< Slic3r::Arachne::PolygonsSegmentIndex >::get(), Slic3r::Arachne::PathsPointIndexLocator< Paths >::operator()(), std::hash< Slic3r::Arachne::PolygonsPointIndex >::operator()(), Slic3r::Arachne::PathsPointIndex< Paths >::operator<(), Slic3r::Arachne::PolylineStitcher< Paths, Path, Junction >::stitch(), and to().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlineinherited |
move the iterator backward (and wrap around at the beginning)
Referenced by Slic3r::Arachne::SkeletalTrapezoidation::computePointCellRange().
Here is the caller graph for this function:
|
inline |
References Slic3r::Arachne::PathsPointIndex< Paths >::next(), and Slic3r::Arachne::PathsPointIndex< Paths >::p().
Referenced by Slic3r::Arachne::SkeletalTrapezoidation::computeSegmentCellRange(), Slic3r::Arachne::detect_missing_voronoi_vertex(), and Slic3r::Geometry::get_parabolic_segment().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inherited |
The index of the point in the polygon in PolygonsPointIndex::polygons.
Referenced by Slic3r::Arachne::PolygonsPointIndexSegmentLocator::operator()(), Slic3r::Arachne::PathsPointIndex< Paths >::operator++(), Slic3r::Arachne::PathsPointIndex< Paths >::operator--(), Slic3r::Arachne::PathsPointIndex< Paths >::operator=(), Slic3r::Arachne::PathsPointIndex< Paths >::operator==(), Slic3r::Arachne::PathsPointIndex< Paths >::p(), and Slic3r::Arachne::PolylineStitcher< Paths, Path, Junction >::stitch().
|
inherited |
The index of the polygon in PolygonsPointIndex::polygons.
Referenced by Slic3r::Arachne::PolylineStitcher< Paths, Path, Junction >::canReverse(), Slic3r::Arachne::PathsPointIndex< Paths >::getPolygon(), Slic3r::Arachne::PolygonsPointIndexSegmentLocator::operator()(), Slic3r::Arachne::PathsPointIndex< Paths >::operator++(), Slic3r::Arachne::PathsPointIndex< Paths >::operator--(), Slic3r::Arachne::PathsPointIndex< Paths >::operator=(), Slic3r::Arachne::PathsPointIndex< Paths >::operator==(), Slic3r::Arachne::PathsPointIndex< Paths >::p(), and Slic3r::Arachne::PolylineStitcher< Paths, Path, Junction >::stitch().
|
inherited |
The polygons into which this index is indexing.
Referenced by Slic3r::Arachne::PolylineStitcher< Paths, Path, Junction >::canReverse(), Slic3r::Arachne::PathsPointIndex< Paths >::getPolygon(), Slic3r::Arachne::PathsPointIndex< Paths >::initialized(), Slic3r::Arachne::PolygonsPointIndexSegmentLocator::operator()(), Slic3r::Arachne::PathsPointIndex< Paths >::operator++(), Slic3r::Arachne::PathsPointIndex< Paths >::operator=(), Slic3r::Arachne::PathsPointIndex< Paths >::operator==(), Slic3r::Arachne::PathsPointIndex< Paths >::p(), and Slic3r::Arachne::PolylineStitcher< Paths, Path, Junction >::stitch().