Public Member Functions | |
| IslandLocator (const ExPolygons &islands) | |
| void | find (const ExPolygon &piece, std::vector< size_t > &out) const |
Private Member Functions | |
| template<typename Fn> | |
| void | for_cells (const BoundingBox &bb, Fn &&fn) const |
Private Attributes | |
| const ExPolygons & | m_islands |
| std::vector< BoundingBox > | m_bboxes |
| BoundingBox | m_extent |
| coord_t | m_cell_w = 1 |
| coord_t | m_cell_h = 1 |
| std::vector< std::vector< size_t > > | m_grid |
Static Private Attributes | |
| static constexpr int | GRID = 64 |
|
inlineexplicit |
References for_cells(), Slic3r::get_extents(), GRID, m_bboxes, m_cell_h, m_cell_w, m_extent, m_grid, and m_islands.
|
inline |
References for_cells(), Slic3r::get_extents(), m_bboxes, m_extent, m_grid, and Slic3r::sort_remove_duplicates().
|
inlineprivate |
References GRID, m_cell_h, m_cell_w, m_extent, Slic3r::BoundingBoxBase< PointType, APointsType >::max, and Slic3r::BoundingBoxBase< PointType, APointsType >::min.
Referenced by IslandLocator(), and find().
|
staticconstexprprivate |
Referenced by IslandLocator(), and for_cells().
|
private |
Referenced by IslandLocator(), and find().
|
private |
Referenced by IslandLocator(), and for_cells().
|
private |
Referenced by IslandLocator(), and for_cells().
|
private |
Referenced by IslandLocator(), find(), and for_cells().
|
private |
Referenced by IslandLocator(), and find().
|
private |
Referenced by IslandLocator().