Close

Relief for ODA Team in Ukraine

Learn more
ODA Kernel SDK
OdGeTorus Class
Syntax
C++
class OdGeTorus : public OdGeSurface;

This class represents toroidal segments.

The torus is surface generated by revolving a circular arc about an axis of symmetry, where the plane of the circular arc contains the axis of symmetry 

The torus is located in space by its center, which is a point on the axis of symmetry. 

The center of the circular arc is at a distance of majorRadius from the center of the torus. The radius of the circular arc is the minorRadius. 

Parameter U parameterizes the circular tube, which for a closed circle defaults to the range [-OdaPI, OdaPI). Applying the right hand rule along the (axisOfSymmetry X refAxis) defines the increasing direction for U. 

Parameter V is the longitude (about the axis of symmetry), which for a closed torus defaults to the range [-OdaPI, OdaPI). Zero corresponds to the refAxis (which is a vector orthogonal to the axis of symmetry). Applying the right hand rule along the symmetric axis defines the increasing direction for V. However, if isReverseV() is true, the increasing direction for V is defined by the left hand rule. 

The torus is periodic in U, V with a period of Oda2PI. [umin, umax] x [vmin, vmax] defines a four sided toroidal patch bounded by four circular arcs. Following constraints apply to the definition of a toroidal patch. 

  • umin < umax and |umin - umax| <= Oda2PI.
  • vmin < vmax and |vmin - vmax| <= Oda2PI
 

Corresponding C++ library: TD_Ge 

 

Working with Toruses 

OdGeTorusOdGeTorusOdGeTorus

File: GeTorus.h 

Module: API Reference 

Show:
No members matching the current filter
Show:
No members matching the current filter
Show:
No members matching the current filter
Copyright © 2002-2022. Open Design Alliance All rights reserved.