Close

Relief for ODA Team in Ukraine

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

This class represents right elliptical cones.

A elliptical cone is defined by its

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

The cross section containing the origin is referred to as the base. The radii at the base cannot be zero. This elliptical cone may extend on either side of the base. This elliptical cone extends only on one direction from the apex, i.e. it is not a double elliptical cone. 

The half angle is measured from the symmetric axis of this elliptical cone to a point on the major axis. If cosine of the half angle is positive, this elliptical cone is convex. If cosine of the half angle is negative, this elliptical cone is concave. If cosine and sine of the half angle have the same sign, the apex is on the opposite direction of the symmetric axis and radius increases along the symmetric axis. If cosine and sine of the half angle have different signs, the apex is on the direction of the symmetric axis and radius decreases along the symmetric axis. Both cosine and sine of the half angle can't be zeros. 

Parameter V is the angle of revolution measured from the major axis to the axis of symmetry. For a closed elliptical cone, 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. 

The angle of point on an ellipse is measured by projecting the point on the ellipse perpendicular to major axis onto a circle which lies on the same plane, which center is the center of the ellipse and which radius is the major radius of the 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. 

The height interval of this elliptical cone is specified relative to its origin. Height increases in the direction of the symmetric axis. Height interval must be bounded. 

Parameter U varies along the generating line. U is dimensionless, measured in U parameter scale (which equals to the major radius by default), multiplied by the absolute value of cosine of the half angle. 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 cone. 

If cosine and sine of the half angle have the same sign, U and height are less than zero at the apex. If cosine and sine of the half angle have different signs, U and height are greater than zero at the apex. 

[umin, umax] x [vmin, vmax] defines a four sided conical patch bounded by two straight lines (at angles vmin and vmax), and two circular arcs (at umin and umax). The following must be observed when defining an elliptical cone: 

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

Corresponding C++ library: TD_Ge 

 

OdGeEllipConeOdGeEllipConeOdGeEllipCone

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