PLaSK library
|
Two directions aligner in 3D space, compose and use two 1D aligners. More...
#include <plask/geometry/align.hpp>
Public Member Functions | |
Aligner () | |
Aligner (const Aligner< _direction1 > &dir1aligner, const Aligner< _direction2 > &dir2aligner) | |
Public Member Functions inherited from plask::align::AlignerBase2D< _direction1, _direction2 > | |
AlignerBase2D () | |
AlignerBase2D (const Aligner< direction1 > &dir1aligner, const Aligner< direction2 > &dir2aligner) | |
bool | useBounds () const |
Check if this aligner getAlign uses bounding box in calculation. | |
virtual void | align (Translation< 3 > &toAlign, const Box3D &childBoundingBox) const |
Set object translation in directions of aligner activity. | |
virtual void | align (Translation< 3 > &toAlign) const |
Set object translation in directions of aligner activity. | |
std::string | str () const |
Get string representation of this using print method. | |
virtual std::map< std::string, double > | asDict (const AxisNames &axis_names) const |
Get aligner as dictionary. | |
virtual void | writeToXML (XMLElement &dest, const AxisNames &axis_names) const |
Write this aligner to XML. | |
bool | isNull () |
Additional Inherited Members | |
Public Attributes inherited from plask::align::AlignerBase2D< _direction1, _direction2 > | |
Aligner< _direction1 > | dir1aligner |
Aligner< _direction2 > | dir2aligner |
Static Public Attributes inherited from plask::align::AlignerBase2D< _direction1, _direction2 > | |
static const Direction | direction1 = _direction1 |
static const Direction | direction2 = _direction2 |
Two directions aligner in 3D space, compose and use two 1D aligners.
|
inline |
|
inline |