#include </home/runner/work/OrcaSlicer/OrcaSlicer/src/libslic3r/Point.hpp>
Public Types | |
| using | coord_type = coord_t |
Public Member Functions | |
| Point () | |
| Point (int32_t x, int32_t y) | |
| Point (int64_t x, int64_t y) | |
| Point (int64_t x, int32_t y) | |
| Point (int32_t x, int64_t y) | |
| Point (double x, double y) | |
| Point (const Vec2d &rhs) | |
| template<typename OtherDerived> | |
| Point (const Eigen::MatrixBase< OtherDerived > &other) | |
| template<typename OtherDerived> | |
| Point & | operator= (const Eigen::MatrixBase< OtherDerived > &other) |
| Point & | operator+= (const Point &rhs) |
| Point & | operator-= (const Point &rhs) |
| Point & | operator*= (const double &rhs) |
| Point | operator* (const double &rhs) |
| bool | both_comp (const Point &rhs, const std::string &op) |
| bool | any_comp (const Point &rhs, const std::string &op) |
| void | rotate (double angle) |
| void | rotate (double cos_a, double sin_a) |
| void | rotate (double angle, const Point ¢er) |
| Point | rotated (double angle) const |
| Point | rotated (double cos_a, double sin_a) const |
| Point | rotated (double angle, const Point ¢er) const |
| Point | rotate_90_degree_ccw () const |
| int | nearest_point_index (const Points &points) const |
| int | nearest_point_index (const PointConstPtrs &points) const |
| int | nearest_point_index (const PointPtrs &points) const |
| bool | nearest_point (const Points &points, Point *point) const |
| double | ccw (const Point &p1, const Point &p2) const |
| double | ccw (const Line &line) const |
| double | ccw_angle (const Point &p1, const Point &p2) const |
| Point | projection_onto (const MultiPoint &poly) const |
| Point | projection_onto (const Line &line) const |
| double | distance_to (const Point &point) const |
Static Public Member Functions | |
| static Point | new_scale (coordf_t x, coordf_t y) |
| template<typename OtherDerived> | |
| static Point | new_scale (const Eigen::MatrixBase< OtherDerived > &v) |
| using Slic3r::Point::coord_type = coord_t |
|
inline |
Referenced by Slic3r::IntersectionPoint::IntersectionPoint(), Slic3r::IntersectionPoint::IntersectionPoint(), any_comp(), both_comp(), ccw(), ccw_angle(), distance_to(), nearest_point(), new_scale(), new_scale(), operator*(), operator*=(), operator+=(), operator-=(), operator=(), projection_onto(), projection_onto(), rotate(), rotate_90_degree_ccw(), rotated(), rotated(), and rotated().
|
inline |
|
inline |
|
inlineexplicit |
|
inline |
|
inline |
References Point().
|
inline |
References Point().
| double Slic3r::Point::ccw | ( | const Line & | line | ) | const |
References Slic3r::Line::a, Slic3r::Line::b, and ccw().
References Point(), Slic3r::cast(), and Slic3r::cross2().
Referenced by Slic3r::Point3::ccw(), Slic3r::Point3::ccw(), and ccw().
References Point(), and Slic3r::angle().
Referenced by Slic3r::Point3::ccw_angle(), Slic3r::GCode::extrude_loop(), and Slic3r::wipe_on_loops_destination().
|
inline |
References Point().
Referenced by Slic3r::generate_spiral_insets(), and Slic3r::remove_overlapped().
References Point(), and nearest_point_index().
Referenced by Slic3r::Point3::nearest_point().
| int Slic3r::Point::nearest_point_index | ( | const PointConstPtrs & | points | ) | const |
References EPSILON, and Slic3r::sqr().
| int Slic3r::Point::nearest_point_index | ( | const PointPtrs & | points | ) | const |
References nearest_point_index().
| int Slic3r::Point::nearest_point_index | ( | const Points & | points | ) | const |
References nearest_point_index().
Referenced by Slic3r::FillConcentric::_fill_surface_single(), Slic3r::FillConcentric::_fill_surface_single(), Slic3r::FillConcentricInternal::fill_surface_extrusion(), Slic3r::generate_spiral_insets(), nearest_point(), Slic3r::Point3::nearest_point_index(), nearest_point_index(), and nearest_point_index().
|
inlinestatic |
References Point(), and scale_.
Referenced by Slic3r::PrintObject::PrintObject(), Slic3r::Geometry::circle_center_taubin_newton(), Slic3r::WipeTower2::cone_base_polygon(), libvgcode::convert_wipe_tower_to_vertices(), Slic3r::Geometry::convex_hull(), Slic3r::TriangleMesh::convex_hull(), Slic3r::detect_overhangs(), Slic3r::SupportSpotsGenerator::estimate_malformations(), Slic3r::WipeTower2::finish_layer(), Slic3r::FillAdaptive::generate_infill_lines_recursive(), Slic3r::WipeTower2::generate_rib_polygon(), Slic3r::WipeTower::generate_rib_polygon(), Slic3r::WipeTower2::generate_support_cone_wall(), Slic3r::FakeWipeTower::getFakeExtrusionPathsFromWipeTower2(), Slic3r::GUI::MeshClipper::is_projection_inside_cut(), Slic3r::GUI::Plater::priv::load_model_objects(), Slic3r::GCode::needs_retraction(), Slic3r::Polygon::new_scale(), Slic3r::Polyline::new_scale(), Slic3r::SeamPlacer::place_seam(), anonymous_namespace{OrcaSlicer_profile_validator.cpp}::place_wipe_tower(), Slic3r::GUI::MeshClipper::point_per_contour(), Slic3r::print_objects_from_model_object(), Slic3r::GUI::PartPlateList::set_default_wipe_tower_pos_for_plate(), Slic3r::sla_instances(), Slic3r::GCodeWriter::spiral_lift_fits_printable_area(), Slic3r::WipeTower2::toolchange_Change(), and Slic3r::AvoidCrossingPerimeters::travel_to().
|
inline |
|
inline |
References Point().
References Point().
|
inline |
References Point().
References Point(), Slic3r::Line::a, Slic3r::Line::b, and Slic3r::sqr().
| Point Slic3r::Point::projection_onto | ( | const MultiPoint & | poly | ) | const |
References Point(), Slic3r::cast(), and projection_onto().
Referenced by Slic3r::clip_extrusion(), Slic3r::foot_pt(), Slic3r::MultiPoint::has_boundary_point(), Slic3r::Point3::projection_onto(), projection_onto(), Slic3r::projection_onto(), Slic3r::Polyline3::split_at(), and Slic3r::Polyline::split_at().
|
inline |
References Slic3r::angle(), and rotate().
Referenced by Slic3r::GCode::extrude_loop(), Slic3r::FillSupportBase::fill_surface(), Slic3r::TreeSupport::generate_contact_points(), rotate(), rotated(), rotated(), rotated(), and Slic3r::wipe_on_loops_destination().
| void Slic3r::Point::rotate | ( | double | angle, |
| const Point & | center ) |
References Point(), Slic3r::angle(), Slic3r::cast(), Slic3r::center(), and Slic3r::fast_round_up().
|
inline |
|
inline |
|
inline |
References Point(), Slic3r::angle(), and rotate().
Referenced by Slic3r::Geometry::VoronoiUtils::discretize_parabola(), Slic3r::FillRectilinear::fill_surface_by_lines(), and Slic3r::make_fill_lines().
References Point(), Slic3r::angle(), Slic3r::center(), and rotate().
|
inline |