- if(!aRotationAlgo->isDone()) {
- static const std::string aFeatureError = "Error: Rotation algorithm failed.";
- setError(aFeatureError);
- break;
- }
- if(aRotationAlgo->shape()->isNull()) {
- static const std::string aShapeError = "Error : Resulting shape is Null.";
- setError(aShapeError);
- break;
- }
- if(!aRotationAlgo->isValid()) {
- std::string aFeatureError = "Error: Resulting shape is not valid.";
- setError(aFeatureError);