API Reference > FacetModeler Namespace > Classes > Body Class > Body Methods > Body::checkInternalConsistence Method
Body::checkInternalConsistence Method
Syntax
C++
bool checkInternalConsistence(OdString* pFirstErrorDetected = NULL) const;
Parameters 
Description 
OdString* pFirstErrorDetected = NULL 
[out] (Optional) Error result string.  

true if the body is valid, or false otherwise.

Checks the body for validity. 

 

If an error is detected and pFirstErrorDetected is provided, the method returns false and assigns an error message to the passed OdString; otherwise OdError with the error message is thrown.

Copyright © 2002-2020. Open Design Alliance. All rights reserved.