Relative position of a child-volume inside a parent-volume. More...
#include <DDPosData.h>
Public Member Functions | |
int | copyno () const |
DDPosData (const DDTranslation &t, const DDRotation &r, int c, const DDDivision *d=0) | |
Creates a new relative position. More... | |
DDPosData ()=delete | |
const DDRotation & | ddrot () const |
const DDDivision & | div () const |
const DDDivision & | division () const |
DDPosData & | operator= (const DDPosData &)=delete |
const DDRotationMatrix & | rot () const |
const DDRotationMatrix & | rotation () const |
const DDTranslation & | trans () const |
const DDTranslation & | translation () const |
Private Attributes | |
int | copyno_ |
const DDDivision * | div_ |
DDRotation | rot_ |
DDTranslation | trans_ |
Relative position of a child-volume inside a parent-volume.
simple struct to collect information concerning the relative position of a child inside its parent.
Definition at line 13 of file DDPosData.h.
|
inline |
Creates a new relative position.
t
relative translation std::vector r
relative rotation matrix c
copy numberUsers normally don't create DDPosData themselves. They get read access to relative positionings via DDPosData in DDCompactView.
Definition at line 22 of file DDPosData.h.
References DDPosData(), and operator=().
|
delete |
Referenced by DDPosData().
|
inline |
Definition at line 33 of file DDPosData.h.
References copyno_.
Referenced by DDExpandedNode::copyno(), DDExpandedNode::operator==(), and DDCoreToDDXMLOutput::position().
|
inline |
Definition at line 32 of file DDPosData.h.
References rot_.
Referenced by DDCheckPD(), and DDCoreToDDXMLOutput::position().
|
inline |
|
inline |
Referenced by DDPosData().
|
inline |
Definition at line 31 of file DDPosData.h.
References rot_, and DDRotation::rotation().
Referenced by DDExpandedView::firstChild(), and DDExpandedView::nextSibling().
|
inline |
Definition at line 30 of file DDPosData.h.
References rot_, and DDRotation::rotation().
|
inline |
Definition at line 28 of file DDPosData.h.
References trans_.
Referenced by DDExpandedView::firstChild().
|
inline |
Definition at line 27 of file DDPosData.h.
References trans_.
Referenced by DDCoreToDDXMLOutput::position().
|
private |
|
private |
provides original division that created this pos
Definition at line 42 of file DDPosData.h.
Referenced by div(), and division().
|
private |
relative rotation matrix
Definition at line 40 of file DDPosData.h.
Referenced by ddrot(), rot(), and rotation().
|
private |
relative translation std::vector
Definition at line 39 of file DDPosData.h.
Referenced by DDExpandedView::firstChild(), trans(), and translation().