// Checking that the algorithm worked properly.
if(!aPrismAlgo->isDone() || !aPrismAlgo->shape().get() || aPrismAlgo->shape()->isNull() ||
!aPrismAlgo->isValid()) {
// Checking that the algorithm worked properly.
if(!aPrismAlgo->isDone() || !aPrismAlgo->shape().get() || aPrismAlgo->shape()->isNull() ||
!aPrismAlgo->isValid()) {