API Reference > OdGe Classes > OdGeCurve3d Class > OdGeCurve3d Methods > isDegenerate Method > OdGeCurve3d::isDegenerate Method (OdGe::EntityId&, OdGeTol&)
OdGeCurve3d::isDegenerate Method (OdGe::EntityId&, OdGeTol&)
Syntax
C++
bool isDegenerate(OdGe::EntityId& degenerateType, const OdGeTol& tol = OdGeContext::gTol) const;
Parameters 
Description 
OdGe::EntityId& degenerateType 
[out] Receives the type of curve to which this curve degenerates.  
const OdGeTol& tol = OdGeContext::gTol 
[in] Geometric tolerance. 

Returns true if and only if this curve degenerates, and returns the type of entity to which this curve degenerates. 

 

If isDegenerate returns true, the returned object was created with the new operator, and it is the responsibility of the caller to delete it.

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