libslic3r
Library for generating gcode from 3d models
Public Member Functions | Public Attributes | List of all members
Slic3r::BoundingBoxBase< PointClass > Class Template Reference

#include <BoundingBox.hpp>

Inheritance diagram for Slic3r::BoundingBoxBase< PointClass >:
Slic3r::BoundingBox3Base< PointClass >

Public Member Functions

 BoundingBoxBase ()
 
 BoundingBoxBase (const PointClass &pmin, const PointClass &pmax)
 
 BoundingBoxBase (const std::vector< PointClass > &points)
 
void merge (const PointClass &point)
 
void merge (const std::vector< PointClass > &points)
 
void merge (const BoundingBoxBase< PointClass > &bb)
 
void scale (double factor)
 
PointClass size () const
 
double radius () const
 
void translate (coordf_t x, coordf_t y)
 
void offset (coordf_t delta)
 
PointClass center () const
 
bool contains (const PointClass &point) const
 

Public Attributes

PointClass min
 
PointClass max
 
bool defined
 

Constructor & Destructor Documentation

◆ BoundingBoxBase() [1/3]

template<class PointClass>
Slic3r::BoundingBoxBase< PointClass >::BoundingBoxBase ( )
inline

◆ BoundingBoxBase() [2/3]

template<class PointClass>
Slic3r::BoundingBoxBase< PointClass >::BoundingBoxBase ( const PointClass &  pmin,
const PointClass &  pmax 
)
inline

◆ BoundingBoxBase() [3/3]

template<class PointClass>
Slic3r::BoundingBoxBase< PointClass >::BoundingBoxBase ( const std::vector< PointClass > &  points)

Member Function Documentation

◆ center()

template<class PointClass >
template Pointf Slic3r::BoundingBoxBase< PointClass >::center ( ) const

◆ contains()

template<class PointClass>
template bool Slic3r::BoundingBoxBase< PointClass >::contains ( const PointClass &  point) const

◆ merge() [1/3]

template<class PointClass>
void Slic3r::BoundingBoxBase< PointClass >::merge ( const PointClass &  point)

◆ merge() [2/3]

template<class PointClass>
void Slic3r::BoundingBoxBase< PointClass >::merge ( const std::vector< PointClass > &  points)

◆ merge() [3/3]

template<class PointClass>
void Slic3r::BoundingBoxBase< PointClass >::merge ( const BoundingBoxBase< PointClass > &  bb)

◆ offset()

template<class PointClass >
template void Slic3r::BoundingBoxBase< PointClass >::offset ( coordf_t  delta)

◆ radius()

template<class PointClass >
template double Slic3r::BoundingBoxBase< PointClass >::radius ( ) const

◆ scale()

template<class PointClass >
template void Slic3r::BoundingBoxBase< PointClass >::scale ( double  factor)

◆ size()

template<class PointClass >
template Pointf Slic3r::BoundingBoxBase< PointClass >::size ( ) const

◆ translate()

template<class PointClass >
template void Slic3r::BoundingBoxBase< PointClass >::translate ( coordf_t  x,
coordf_t  y 
)

Member Data Documentation

◆ defined

template<class PointClass>
bool Slic3r::BoundingBoxBase< PointClass >::defined

◆ max

template<class PointClass>
PointClass Slic3r::BoundingBoxBase< PointClass >::max

◆ min

template<class PointClass>
PointClass Slic3r::BoundingBoxBase< PointClass >::min

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