Share

AcGeCurve3d::isDegenerate

C++

GE_DLLEXPIMPORT Adesk::Boolean isDegenerate(
    AcGeEntity3d*& pConvertedEntity, 
    const AcGeTol& tol = AcGeContext::gTol
) const;

Description

Determines if the curve is degenerate and if so returns the entity which the curve degenerates into. This function is the same as isDegenerate(AcGeEntityId&), except that it returns the actual degenerate entity instead of just returning its type.

The pConvertedEntity parameter is set to null if this function returns a value of Adesk::kFalse.

If this function returns a value of Adesk::kTrue, then pConvertedEntity is set to the address of an entity that is created using the new operator. It is the responsibility of the caller to delete this entity.

Parameters

Parameters Description
pConvertedEntity Output entity that curve degenerates into
tol Input tolerance

Links

AcGeCurve3d

Was this information helpful?