SHAPER  9.15.0
GeomAlgoAPI_Tools::AlgoError Class Reference

Verify error in MakeShape algorithm. More...

Static Public Member Functions

static GEOMALGOAPI_EXPORT bool isAlgorithmFailed (const std::shared_ptr< GeomAlgoAPI_MakeShape > &theAlgorithm, const std::string &theFeature, std::string &theError)
 Verify MakeShape algorithm for failures. More...
 

Detailed Description

Verify error in MakeShape algorithm.

Member Function Documentation

◆ isAlgorithmFailed()

bool AlgoError::isAlgorithmFailed ( const std::shared_ptr< GeomAlgoAPI_MakeShape > &  theAlgorithm,
const std::string &  theFeature,
std::string &  theError 
)
static

Verify MakeShape algorithm for failures.

Parameters
[in]theAlgorithmobject to verify the failure
[in]theFeaturekind of the feature, the algorithm belongs to
[out]theErrorerror string (empty if the feature succeed)
Returns
true if succeed