Close

Relief for ODA Team in Ukraine

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

This class represents cylinders with an elliptical cross-section.

An elliptical cylinder is defined by:

  • major and minor radii
  • origin (a point on the axis of symmetry)
  • axis of symmetry
  • major axis
  • height
  • U parameter scale.
 

It is generated by a line parallel to the axis of symmetry, along an elliptical path. 

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

Parameter V is the angle of revolution, measured from the major axis to the axis of symmetry. The right hand rule is applied along the direction of the axis of symmetry for positive angles. For a closed cylinder, V defaults to [-OdaPI, OdaPI). 

Parameter U varies along the generating line. U is dimensionless, measured in U parameter scale (which equals to the major 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 elliptical cylinder. 

The surface of the cylinder is periodic in V with a period of Oda2PI. 

[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
  • majorRadius > 0.0
  • minorRadius > 0.0
 

The angle of a point on an ellipse is measured by projecting the point along a vector perpendicular to the major axis onto a circle whose center is the center of this ellipse and whose radius is the major radius of this ellipse. 

The angle between the major axis of the ellipse, and a vector from the center of the ellipse to the intersection point with the circle, measured counterclockwise, is the angle of the point on the ellipse. 

Corresponding C++ library: TD_Ge 

 

OdGeEllipCylinderOdGeEllipCylinderOdGeEllipCylinder

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