API Reference > OdGe Classes > OdGeTorus Class > OdGeTorus Methods > OdGeTorus::isApple Method
OdGeTorus::isApple Method
Syntax
C++
bool isApple() const;

true if and only if (0 < majorRadius <= |minorRadius| - OdGeContext::gTol.equalVector()).

Checks if (0 < majorRadius < |minorRadius| - OdGeContext::gTol.equalVector()), creating a solid with dimples at the axis of symmetry.

Exactly one of the following functions will be true for a given torus:

  • isApple()
  • isDoughnut()
  • isLemon()
  • isVortex()

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