/** * Reverse the sign of all the Bursa-Wolf parameter values * * @return void */ public function invert() { $this->translationVectors->getX()->invertValue(); $this->translationVectors->getY()->invertValue(); $this->translationVectors->getZ()->invertValue(); $this->rotationMatrix->getX()->invertValue(); $this->rotationMatrix->getY()->invertValue(); $this->rotationMatrix->getZ()->invertValue(); $this->scaleFactor = 0 - $this->scaleFactor; }
/** * @expectedException Exception */ public function testSetZValueInvalid() { $matrixObject = new RotationMatrix($this->_xyz); $fluidReturn = $matrixObject->setZ(); }