Share

isDegenerate Method

Overload List

Method Description
AcGeCurve3d::isDegenerate (AcGe::EntityId&, AcGeTol&) Determines if the curve is degenerate and if so returns the type of entity which the curve degenerates into. For example, if the curve is a circle with a radius of 0 then degenerateType is set to AcGe::kPoint3d. If the curve is an ellipse with a minor radius of 0 and a major radius of 1, then degenerateType is set to AcGe::kLineSeg3d. The degenerateType parameter is only set to something meaningful when this function returns a value of Adesk::kTrue.
AcGeCurve3d::isDegenerate (AcGeEntity3d*&, AcGeTol&) 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.

Was this information helpful?