Close

Relief for ODA Team in Ukraine

Learn more
ODA Kernel SDK
OdGeTorus::isDoughnut Method
Syntax
C++
bool isDoughnut() const;

Checks if (majorRadius >= |minorRadius| - OdGeContext::gTol.equalVector()), creating a solid with a hole in the middle.

true if and only if (majorRadius >= |minorRadius| + OdGeContext::gTol.equalVector()).

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

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

Copyright © 2002-2022. Open Design Alliance All rights reserved.