API Reference > OdGe Classes > OdGeCurve2d Class > OdGeCurve2d Methods > isDegenerate Method > OdGeCurve2d::isDegenerate Method (OdGeEntity2d*&, OdGeTol&)
OdGeCurve2d::isDegenerate Method (OdGeEntity2d*&, OdGeTol&)
Syntax
C++
bool isDegenerate(OdGeEntity2d*& pConvertedEntity, const OdGeTol& tol = OdGeContext::gTol) const;
Parameters 
Description 
OdGeEntity2d*& pConvertedEntity 
[out] Output entity that the curve degenerates into.  
const OdGeTol& tol = OdGeContext::gTol 
[in] Geometric tolerance. 

Determines if the curve is degenerate and if so returns the entity that the curve degenerates into.

By default this function throws the exception "not Implemented". Should be implemented in derived classes.

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