API Reference > OdDb Classes > OdDbSweepOptions Class > OdDbSweepOptions Methods > OdDbSweepOptions::checkPathCurve Method
OdDbSweepOptions::checkPathCurve Method
Syntax
C++
OdResult checkPathCurve(OdDbEntity * pPathEnt, bool displayErrorMessages = false);
Parameters 
Description 
OdDbEntity * pPathEnt 
[in] A pointer to the path curve.  
bool displayErrorMessages = false 
[in] Indicates whether error messages are displayed. Default value is false.
 

Returns eOk if curve is valid or eInvalidInput otherwise.

Determines if the passed-in path curve is valid. 

 

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