AGDD XmlFileBuilder in Action
// Make a positioner. We will use PosXYZ:
PosXYZ * boxPos = new PosXYZ;
// Set the positioner’s parameters:
boxPos->setVolume(myBox); // Says what to position
boxPos->setRot(10*degree, 0, 0); // Gives a rotation
boxPos->setXYZ(0, 100*mm, 0); // Gives a translation