Close

Relief for ODA Team in Ukraine

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

This class represents right circular cylinders.

A right circular cylinder is defined by its 

  • radius
  • axis of symmetry
  • origin (a point on the axis)
  • U parameter scale.
 

It is generated by revolving a line parallel to the axis of symmetry, at a the radius distance. 

The height interval of this cylinder is specified relative to its origin. Height is increasing in the direction of the symmetric axis. Height interval can be unbounded. 

The cylinder is parameterized as follows: 

Parameter V is the angle of revolution measured from the refAxis (an axis perpendicular to the axis of symmetry). For a closed cylinder, it defaults to [-OdaPI, OdaPI). The right hand rule applied along the direction of the axis of symmetry defines the positive direction of V. The surface is periodic in V with a period of Oda2PI. 

Parameter U varies along the generating line. U is dimensionless, measured in U parameter scale (which equals to the radius by default). U increases in the direction of the axis of symmetry. However, if U parameter scale is negative, U decreases in the direction of the axis of symmetry. U = 0 corresponds to the base of this cylinder. 

[umin, umax] x [vmin, vmax] defines a four sided cylindrical patch bounded by two straight lines (at vmin and vmax), and two circular arcs (at umin and umax). The following constraints apply to the definition of a cylindrical patch: 

  • umin < umax
  • |vmax - vmin| <= Oda2PI.
  • radius > 0.0
 

Corresponding C++ library: TD_Ge 

 

OdGeCylinderOdGeCylinderOdGeCylinder

File: GeCylinder.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.