This class represents right circular cones.
A right circular cone is defined by its
The cross section containing the origin is referred to as the base. The radius at the base cannot be zero. This cone may extend on either side of the base. This cone extends only on one direction from the apex, i.e. it is not a double cone.
The half angle is measured between the symmetric axis and the generating line of this cone. If cosine of the half angle is positive, this cone is convex. If cosine of the half angle is negative, this 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.
The height interval of this cone is specified relative to its origin. Height increases in the direction of the symmetric axis. Height interval must be bounded.
Parameter V is the angle of revolution measured from the refAxis (an axis perpendicular to the axis of symmetry). For a closed 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.
Parameter U varies along the generating line. U is dimensionless, measured in U parameter scale (which equals to the 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 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 a cone:
Corresponding C++ library: TD_Ge
File: GeCone.h
Module: API Reference
This is the overview for the OdGeCone constructor overload. | |
Destructor for the OdGeEntity3d class. (Inherited from OdGeEntity3d) |
| |
(Inherited from OdGeSurface) | |
Returns the apex of this cone. | |
Returns the axis of symmetry of this cone. | |
Returns the center of the base. | |
Returns the base radius of this cone. | |
This is the overview for the closestPointTo method overload. | |
Returns a copy of this entity. (Inherited from OdGeEntity3d) | |
Returns the distance to the point on this curve closest to the specified point. (Inherited from OdGeSurface) | |
This is the overview for the evalPoint method overload. | |
Retrieves the starting and ending angles of this cone. | |
Returns the point on this surface closest to the specified point. (Inherited from OdGeSurface) | |
This is the overview for the getEnvelope method overload. | |
Returns bounding box of the whole surface or a part of it. The box is axis-aligned in the specified local coordinate system. It is guaranteed to enclose the surface, but not guaranteed to be tight/minimal. (Inherited from OdGeSurface) | |
Retrieves the cosine and the sine of the angle between the generating line and the axis of symmetry. | |
Retrieves the cosine and the sine of the angle between the generating line and the axis of symmetry. | |
Retrieves the interval of the axis of symmetry. | |
Returns U parameter at the pole | |
Finds all poles of surface. Surface envelope not considered. In case of NurbSurface extreme points of envelope are checked. Input arrays may be not empty. In this case new poles will be written to the ends of the arrays. (Inherited from OdGeSurface) | |
Retrieves U parameter scale. | |
Returns the angle between the generating line and the axis of symmetry. | |
Returns the height of this cone corresponding to the specified position on the U-axis. | |
Checks if this cone intersects with a linear entity, and returns the number of intersections and the points of intersection. | |
Checks if the base of this cone is a full circle within the specified tolerance. | |
Returns true if and only if this surface is closed in the U direction. (Inherited from OdGeSurface) | |
Returns true if and only if this surface is closed in the V direction. (Inherited from OdGeSurface) | |
Checks whether the specified entity is equal to this one. (Inherited from OdGeEntity3d) | |
Returns true if and only if this entity is of type (or is derived from) entType. (Inherited from OdGeEntity3d) | |
Checks orientation of the surface. (Inherited from OdGeSurface) | |
Checks normal direction. (Inherited from OdGeSurface) | |
Returns true if and only if the specified point is on this entity, as determined by the tolerance. (Inherited from OdGeEntity3d) | |
Determines if the passed point is on this surface and retrieves a 2D point that represents parametric values for the passed 3D point if it is on this surface. (Inherited from OdGeSurface) | |
Checks if the normal to this cone is pointing outward. | |
This is the overview for the makeIsoparamCurve method overload. | |
Mirrors this entity about the specified plane, and returns a reference to this entity. (Inherited from OdGeEntity3d) | |
This is the overview for the paramOf method overload. | |
Projects a point onto this surface. (Inherited from OdGeSurface) | |
Returns the reference axis of this cone. | |
Reverses the normal of this surface. (Inherited from OdGeSurface) | |
Rotates this entity by the specified angle about the axis defined by the point and the vector, and returns a reference to this entity. (Inherited from OdGeEntity3d) | |
Scales this entity by the scale factor about the basepoint, and returns a reference to this entity. (Inherited from OdGeEntity3d) | |
This is the overview for the set method overload. | |
Sets the starting and ending angles of this cone. | |
Sets the base radius of this cone. | |
Set the rectangle in parameter space that defines the parameter domain of this surface. (Inherited from OdGeSurface) | |
Sets the height interval of this cone. | |
Sets U parameter scale according to the parameter. | |
Applies the 3D transformation matrix to this entity, and returns a reference to this entity. (Inherited from OdGeEntity3d) | |
Applies the 3D translation vector to this entity, and returns a reference to this entity. (Inherited from OdGeEntity3d) | |
Returns the entity type. (Inherited from OdGeEntity3d) |
Comparison operator for the OdGeEntity3d object. (Inherited from OdGeEntity3d) | |
Assignment operator for the OdGeCone object. | |
Assignment operator for the OdGeEntity3d object. (Inherited from OdGeEntity3d) | |
Assignment operator for the OdGeSurface class. (Inherited from OdGeSurface) | |
Comparison operator for the OdGeEntity3d object. (Inherited from OdGeEntity3d) |
Copyright © 2002-2022. Open Design Alliance All rights reserved.
|