libslic3r
Library for generating gcode from 3d models
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
Slic3r::Pointf3 Class Reference

#include <Point.hpp>

Inheritance diagram for Slic3r::Pointf3:
Slic3r::Pointf

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
 
Pointfoperator/= (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 &center)
 
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
 

Constructor & Destructor Documentation

◆ Pointf3()

constexpr Slic3r::Pointf3::Pointf3 ( coordf_t  _x = 0,
coordf_t  _y = 0,
coordf_t  _z = 0 
)
inlineexplicit

Member Function Documentation

◆ distance_to()

double Slic3r::Pointf3::distance_to ( const Pointf3 point) const

◆ negative()

Pointf3 Slic3r::Pointf3::negative ( ) const

◆ new_unscale()

static constexpr Pointf3 Slic3r::Pointf3::new_unscale ( coord_t  x,
coord_t  y,
coord_t  z 
)
inlinestatic

◆ scale()

void Slic3r::Pointf3::scale ( double  factor)

◆ translate() [1/2]

void Slic3r::Pointf3::translate ( const Vectorf3 vector)

◆ translate() [2/2]

void Slic3r::Pointf3::translate ( double  x,
double  y,
double  z 
)

◆ vector_to()

Vectorf3 Slic3r::Pointf3::vector_to ( const Pointf3 point) const

Member Data Documentation

◆ z

coordf_t Slic3r::Pointf3::z

The documentation for this class was generated from the following files: