#include </home/runner/work/OrcaSlicer/OrcaSlicer/src/libslic3r/BoundingBox.hpp>
Public Types | |
| using | PointsType |
Public Member Functions | |
| void | polygon (Polygon *polygon) const |
| Polygon | polygon () const |
| BoundingBox | rotated (double angle) const |
| BoundingBox | rotated (double angle, const Point ¢er) const |
| void | rotate (double angle) |
| void | rotate (double angle, const Point ¢er) |
| void | align_to_grid (const coord_t cell_size) |
| BoundingBox () | |
| BoundingBox (const Point &pmin, const Point &pmax) | |
| BoundingBox (const Points &points) | |
| BoundingBox | inflated (coordf_t delta) const noexcept |
| BoundingBox | scaled (double factor) const |
| void | reset () |
| void | merge (const Point &point) |
| void | scale (double factor) |
| Point | size () const |
| double | radius () const |
| double | area () const |
| void | translate (coordf_t x, coordf_t y) |
| void | offset (coordf_t delta) |
| Point | center () const |
| bool | contains (const Point &point) const |
| bool | overlap (const BoundingBoxBase< Point, PointsType > &other) const |
| Point | operator[] (size_t idx) const |
| bool | operator== (const BoundingBoxBase< Point, PointsType > &rhs) |
| bool | operator!= (const BoundingBoxBase< Point, PointsType > &rhs) |
Public Attributes | |
| Point | min |
| Point | max |
| bool | defined |
Static Private Member Functions | |
| static void | construct (BoundingBoxType &out, It from, It to) |
Friends | |
| BoundingBox | get_extents_rotated (const Points &points, double angle) |
|
inherited |
|
inline |
References Slic3r::BoundingBoxBase< Point, Points >::BoundingBoxBase().
Referenced by get_extents_rotated, inflated(), rotated(), rotated(), and scaled().
References Slic3r::BoundingBoxBase< Point, Points >::BoundingBoxBase().
|
inline |
References Slic3r::BoundingBoxBase< Point, Points >::BoundingBoxBase().
| void Slic3r::BoundingBox::align_to_grid | ( | const coord_t | cell_size | ) |
References Slic3r::align_to_grid(), Slic3r::BoundingBoxBase< Point, Points >::defined, and Slic3r::BoundingBoxBase< Point, Points >::min.
Referenced by Slic3r::SupportGridPattern::SupportGridPattern().
|
inlineinherited |
|
inherited |
References Slic3r::angle(), center(), max, and min.
Referenced by center(), Slic3r::BoundingBox::rotate(), and Slic3r::BoundingBox::rotated().
|
inlinestaticprivateinherited |
Referenced by Slic3r::BoundingBoxBase< PointType, APointsType >::get_extents.
|
inlineinherited |
|
inlinenoexcept |
References BoundingBox(), and Slic3r::BoundingBoxBase< PointType, APointsType >::offset().
Referenced by Slic3r::FillPlanePath::_fill_surface_single(), Slic3r::clip_inner_walls_over_top(), Slic3r::connect_brim_lines(), Slic3r::ExPolygon::contains(), Slic3r::create_boundary_infill_graph(), Slic3r::generate_extra_perimeters_over_overhangs(), Slic3r::FillLightning::Generator::generateTrees(), Slic3r::FillLightning::Generator::generateTreesforSupport(), Slic3r::mark_boundary_segments_touching_infill(), Slic3r::WipeTower::move_box_inside_polygon(), Slic3r::GCode::needs_retraction(), and Slic3r::PerimeterGenerator::process_classic().
|
inherited |
|
inherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
| Polygon Slic3r::BoundingBox::polygon | ( | ) | const |
| void Slic3r::BoundingBox::polygon | ( | Polygon * | polygon | ) | const |
References Slic3r::BoundingBoxBase< Point, Points >::max, Slic3r::BoundingBoxBase< Point, Points >::min, and polygon().
Referenced by Slic3r::WipeTowerIntegration::append_tcr(), Slic3r::bed_exclusion_arrange_polygon(), Slic3r::WipeTowerIntegration::generate_path_to_wipe_tower(), Slic3r::WipeTower::move_box_inside_polygon(), Slic3r::GCode::needs_retraction(), polygon(), Slic3r::GUI::ArrangeJob::prepare_belt_regions(), Slic3r::GUI::PartPlateList::preprocess_nonprefered_areas(), and Slic3r::WipeTowerIntegration::travel_to_tower_gap().
|
inherited |
|
inlineinherited |
|
inline |
References Slic3r::angle().
|
inline |
References Slic3r::angle(), and Slic3r::BoundingBoxBase< Point, Points >::center().
| BoundingBox Slic3r::BoundingBox::rotated | ( | double | angle | ) | const |
References BoundingBox(), and Slic3r::angle().
Referenced by Slic3r::FillPlanePath::_fill_surface_single().
| BoundingBox Slic3r::BoundingBox::rotated | ( | double | angle, |
| const Point & | center ) const |
References BoundingBox(), Slic3r::angle(), and Slic3r::BoundingBoxBase< Point, Points >::center().
|
inherited |
| BoundingBox Slic3r::BoundingBox::scaled | ( | double | factor | ) | const |
References BoundingBox(), and Slic3r::BoundingBoxBase< PointType, APointsType >::scale().
Referenced by Slic3r::Fill::extended_object_bounding_box().
|
inherited |
|
inlineinherited |
|
friend |
References BoundingBox(), Slic3r::angle(), Slic3r::BoundingBoxBase< PointType, APointsType >::defined, Slic3r::BoundingBoxBase< PointType, APointsType >::max, and Slic3r::BoundingBoxBase< PointType, APointsType >::min.
|
inherited |
Referenced by Slic3r::BoundingBox::align_to_grid().
|
inherited |
Referenced by center(), merge(), Slic3r::BoundingBox::polygon(), and size().
|
inherited |
Referenced by Slic3r::BoundingBox::align_to_grid(), center(), merge(), Slic3r::BoundingBox::polygon(), and scale().