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

true if and only if (majorRadius <= 0).

Checks if (majorRadius <= 0), producing a solid with points along 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.