GeEllipCone.h
This class represents right elliptical cones.
A elliptical cone is defined by its
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:
Corresponding C++ library: TD_Ge
|
Name |
Description |
|
This is the overview for the OdGeEllipCone constructor overload. |
|
Name |
Description |
|
Returns the apex of this elliptical cone. | |
|
Returns the axis of symmetry of this elliptical cone. | |
|
Returns the center of the base. | |
|
Retrieves the starting and ending angles of this elliptical cone. | |
|
Retrieves the angle between the generating line passing through the major axis, and the axis of symmetry. | |
|
Retrieves the interval of the axis of symmetry. | |
|
Returns U parameter at the pole | |
|
Retrieves U parameter scale. | |
|
Returns the angle between the generating line passing through the major axis, and the axis of symmetry. | |
|
Returns the height of this elliptical cone corresponding to the specified position on the U-axis. | |
|
Checks if the cone intersects with a line entity, and returns the number of intersections and the points of intersection. | |
|
Checks if the base of this elliptical cone is a full ellipse within the specified tolerance. | |
|
Checks if the normal to this surface is pointing outward. | |
|
Returns the major axis of this elliptical cone. | |
|
Returns the major radius of this elliptical cone. | |
|
Returns the minor axis of this elliptical cone. | |
|
Returns the minor radius of this elliptical cone. | |
|
Returns the ratio of the minor to the major radius of this elliptical cone. | |
|
This is the overview for the set method overload. | |
|
Sets the starting and ending angles of this elliptical cone. | |
|
Sets the height interval of this elliptical cone. | |
|
Sets major radius of this elliptical cone. | |
|
Sets minor radius of this elliptical cone. | |
|
Sets U parameter scale according to the parameter. |
|
Name |
Description |
|
Assignment operator for the OdGeEllipCone object. |
Copyright © 2002–2020. Open Design Alliance. All rights reserved.
|