API Reference > OdDb Classes > OdDbLoftOptions Class > OdDbLoftOptions Methods > OdDbLoftOptions::checkLoftCurves Method
OdDbLoftOptions::checkLoftCurves Method
Syntax
C++
OdResult checkLoftCurves(OdDbEntityPtrArray& crossSectionCurves, OdDbEntityPtrArray& guideCurves, OdDbEntity* pPathCurve, bool& allOpen, bool& allClosed, bool& allPlanar, bool displayErrorMessages = false);
Parameters 
Description 
OdDbEntityPtrArray& crossSectionCurves 
[in] A list of cross-section curves.  
OdDbEntityPtrArray& guideCurves 
[in] A list of guide curves.  
OdDbEntity* pPathCurve 
[in] A pointer to a path curve (can be NULL).  
bool& allOpen 
[out] A passed-in parameter indicating whether all of the cross-section curves are open.  
bool& allClosed 
[out] A passed-in parameter indicating whether all of the cross-section curves are closed.  
bool& allPlanar 
[out] A passed-in parameter indicating whether all of the cross-section curves are planar.  
bool displayErrorMessages = false 
[in] Indicates whether error messages are displayed. Default value is false.
 

Returns eOk if curves are valid or eInvalidInput otherwise.

Checks whether cross section curves and path curves are valid for the lofting operation. 

 

The method is called by createLoftedSurface() and createLoftedSolid() methods, so it is not necessary to call the method separately. The method combines calls to check CrossSectionCurves(), checkGuideCurves(), and checkPathCurve() into a single function.

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