#include </home/runner/work/OrcaSlicer/OrcaSlicer/src/libslic3r/Point.hpp>
Public Types | |
| using | coord_type = coord_t |
Public Member Functions | |
| Point3 () | |
| Point3 (int32_t x, int32_t y, int32_t z=0) | |
| Point3 (int64_t x, int64_t y, int64_t z=0) | |
| Point3 (double x, double y, double z=0.0) | |
| Point3 (const Vec2crd &vec2crd, coord_t z=0) | |
| Point3 (const Vec3crd &vec3crd) | |
| template<typename OtherDerived> | |
| Point3 (const Eigen::MatrixBase< OtherDerived > &other) | |
| template<typename OtherDerived> | |
| Point3 & | operator= (const Eigen::MatrixBase< OtherDerived > &other) |
| Point3 & | operator+= (const Point3 &rhs) |
| Point3 & | operator-= (const Point3 &rhs) |
| Point3 & | operator*= (const double &rhs) |
| Point3 | operator* (const double &rhs) const |
| bool | both_comp (const Point3 &rhs, const std::string &op) |
| bool | any_comp (const Point3 &rhs, const std::string &op) |
| bool | any_comp (const coord_t val, const std::string &op) |
| void | rotate (double angle) |
| void | rotate (double cos_a, double sin_a) |
| void | rotate (double angle, const Point3 ¢er) |
| Point3 | rotated (double angle) const |
| Point3 | rotated (double cos_a, double sin_a) const |
| Point3 | rotated (double angle, const Point3 ¢er) const |
| Point3 | rotate_90_degree_ccw () const |
| int | nearest_point_index (const Points &points) const |
| bool | nearest_point (const Points &points, Point3 *point) const |
| double | ccw (const Point3 &p1, const Point3 &p2) const |
| double | ccw (const Line3 &line) const |
| double | ccw_angle (const Point3 &p1, const Point3 &p2) const |
| Point3 | projection_onto (const MultiPoint3 &poly) const |
| Point3 | projection_onto (const Line3 &line) const |
| Point | to_point () const |
| double | distance_to (const Point3 &point) const |
Static Public Member Functions | |
| static Point3 | new_scale (coordf_t x, coordf_t y, coordf_t z) |
| static Point3 | new_scale (const Vec3d &v) |
| static Point3 | new_scale (const Vec3f &v) |
| using Slic3r::Point3::coord_type = coord_t |
|
inline |
Referenced by any_comp(), both_comp(), ccw(), ccw_angle(), distance_to(), nearest_point(), new_scale(), new_scale(), new_scale(), operator*(), operator*=(), operator+=(), operator-=(), operator=(), projection_onto(), projection_onto(), rotate(), rotate_90_degree_ccw(), rotated(), rotated(), and rotated().
|
inline |
|
inline |
|
inline |
|
inlineexplicit |
|
inline |
|
inline |
References Point3().
|
inline |
References Point3().
| double Slic3r::Point3::ccw | ( | const Line3 & | line | ) | const |
References Slic3r::Line3::a, Slic3r::Line3::b, Slic3r::Point::ccw(), and to_point().
References Point3(), Slic3r::Point::ccw(), and to_point().
References Point3(), Slic3r::Point::ccw_angle(), and to_point().
|
inline |
References Point3().
References Point3(), Slic3r::Point::nearest_point(), and to_point().
| int Slic3r::Point3::nearest_point_index | ( | const Points & | points | ) | const |
References Slic3r::Point::nearest_point_index(), and to_point().
|
inline |
|
inline |
References Point3().
References Point3().
|
inline |
References Point3().
References Point3(), Slic3r::Line3::a, Slic3r::Line3::b, Slic3r::cast(), EPSILON, Slic3r::Line3::length(), Slic3r::Point::projection_onto(), and to_point().
| Point3 Slic3r::Point3::projection_onto | ( | const MultiPoint3 & | poly | ) | const |
References Point3().
Referenced by Slic3r::foot_pt().
|
inline |
References Slic3r::angle(), and rotate().
Referenced by rotate(), rotate(), rotated(), rotated(), and rotated().
| void Slic3r::Point3::rotate | ( | double | angle, |
| const Point3 & | center ) |
References Point3(), Slic3r::angle(), Slic3r::center(), Slic3r::diff(), and rotate().
|
inline |
|
inline |
|
inline |
References Point3(), Slic3r::angle(), Slic3r::center(), and rotate().
|
inline |
|
inline |
Referenced by Slic3r::GCode::_extrude(), ccw(), ccw(), ccw_angle(), Slic3r::GCode::compute_farthest_point(), nearest_point(), nearest_point_index(), Slic3r::GCode::point_to_gcode(), projection_onto(), Slic3r::Polyline3::split_at(), and Slic3r::Polyline3::split_at().