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

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

Checks if (|majorRadius - |minorRadius|| < OdGeContext::gTol.equalVector()), producing a doughnut. with a zero-radius hole.

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.