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

#include <BoundingBox.hpp>

Inheritance diagram for Slic3r::BoundingBox:
Slic3r::BoundingBoxBase< Point >

Public Member Functions

void polygon (Polygon *polygon) const
 
Polygon polygon () const
 
BoundingBox rotated (double angle) const
 
BoundingBox rotated (double angle, const Point &center) const
 
void rotate (double angle)
 
void rotate (double angle, const Point &center)
 
 BoundingBox ()
 
 BoundingBox (const Point &pmin, const Point &pmax)
 
 BoundingBox (const Points &points)
 
 BoundingBox (const Lines &lines)
 
- Public Member Functions inherited from Slic3r::BoundingBoxBase< Point >
 BoundingBoxBase ()
 
 BoundingBoxBase (const Point &pmin, const Point &pmax)
 
 BoundingBoxBase (const std::vector< Point > &points)
 
void merge (const Point &point)
 
void merge (const std::vector< Point > &points)
 
void merge (const BoundingBoxBase< Point > &bb)
 
void scale (double factor)
 
Point size () const
 
double radius () const
 
void translate (coordf_t x, coordf_t y)
 
void offset (coordf_t delta)
 
Point center () const
 
bool contains (const Point &point) const
 

Additional Inherited Members

- Public Attributes inherited from Slic3r::BoundingBoxBase< Point >
Point min
 
Point max
 
bool defined
 

Constructor & Destructor Documentation

◆ BoundingBox() [1/4]

Slic3r::BoundingBox::BoundingBox ( )
inline

◆ BoundingBox() [2/4]

Slic3r::BoundingBox::BoundingBox ( const Point pmin,
const Point pmax 
)
inline

◆ BoundingBox() [3/4]

Slic3r::BoundingBox::BoundingBox ( const Points points)
inline

◆ BoundingBox() [4/4]

Slic3r::BoundingBox::BoundingBox ( const Lines lines)

Member Function Documentation

◆ polygon() [1/2]

void Slic3r::BoundingBox::polygon ( Polygon polygon) const

◆ polygon() [2/2]

Polygon Slic3r::BoundingBox::polygon ( ) const

◆ rotate() [1/2]

void Slic3r::BoundingBox::rotate ( double  angle)
inline

◆ rotate() [2/2]

void Slic3r::BoundingBox::rotate ( double  angle,
const Point center 
)
inline

◆ rotated() [1/2]

BoundingBox Slic3r::BoundingBox::rotated ( double  angle) const

◆ rotated() [2/2]

BoundingBox Slic3r::BoundingBox::rotated ( double  angle,
const Point center 
) const

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