Share

AcGeCurve3d::isDegenerate

C++

GE_DLLEXPIMPORT Adesk::Boolean isDegenerate(
    AcGe::EntityId& degenerateType, 
    const AcGeTol& tol = AcGeContext::gTol
) const;

Description

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.

Parameters

Parameters Description
degenerateType Output type of degenerate entity
tol Input tolerance

Links

AcGeCurve3d

Was this information helpful?