API Reference > OdGe Classes > OdGeCurve2d Class > OdGeCurve2d Methods > isDegenerate Method > OdGeCurve2d::isDegenerate Method (OdGe::EntityId&, OdGeTol&)
OdGeCurve2d::isDegenerate Method (OdGe::EntityId&, OdGeTol&)
Syntax
C++
bool isDegenerate(OdGe::EntityId& degenerateType, const OdGeTol& tol = OdGeContext::gTol) const;
Parameters 
Description 
OdGe::EntityId& degenerateType 
[out] Output type of degenerate entity.  
const OdGeTol& tol = OdGeContext::gTol 
[in] Geometric tolerance. 

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

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

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