libslic3r
Library for generating gcode from 3d models
|
#include <Point.hpp>
Public Member Functions | |
constexpr | Pointf3 (coordf_t _x=0, coordf_t _y=0, coordf_t _z=0) |
void | scale (double factor) |
void | translate (const Vectorf3 &vector) |
void | translate (double x, double y, double z) |
double | distance_to (const Pointf3 &point) const |
Pointf3 | negative () const |
Vectorf3 | vector_to (const Pointf3 &point) const |
Public Member Functions inherited from Slic3r::Pointf | |
constexpr | Pointf (coordf_t _x=0, coordf_t _y=0) |
bool | operator== (const Pointf &rhs) const |
bool | coincides_with_epsilon (const Pointf &rhs) const |
Pointf & | operator/= (const double &scalar) |
std::string | wkt () const |
std::string | dump_perl () const |
void | scale (double factor) |
void | translate (double x, double y) |
void | translate (const Vectorf &vector) |
void | rotate (double angle) |
void | rotate (double angle, const Pointf ¢er) |
Pointf | negative () const |
Vectorf | vector_to (const Pointf &point) const |
Static Public Member Functions | |
static constexpr Pointf3 | new_unscale (coord_t x, coord_t y, coord_t z) |
Static Public Member Functions inherited from Slic3r::Pointf | |
static constexpr Pointf | new_unscale (coord_t x, coord_t y) |
static constexpr Pointf | new_unscale (const Point &p) |
Public Attributes | |
coordf_t | z |
Public Attributes inherited from Slic3r::Pointf | |
coordf_t | x |
coordf_t | y |
|
inlineexplicit |
double Slic3r::Pointf3::distance_to | ( | const Pointf3 & | point | ) | const |
Pointf3 Slic3r::Pointf3::negative | ( | ) | const |
|
inlinestatic |
void Slic3r::Pointf3::scale | ( | double | factor | ) |
void Slic3r::Pointf3::translate | ( | const Vectorf3 & | vector | ) |
void Slic3r::Pointf3::translate | ( | double | x, |
double | y, | ||
double | z | ||
) |
coordf_t Slic3r::Pointf3::z |