GeometricObjects Interface CATSphere
Usage: an implementation of this interface is supplied and you must use it as is. You should not reimplement it.
interface CATSphere
Interface representing a geometric sphere.
The CATSphere is created by the CreateSphere
method of the CATGeoFactory interface and deleted with the Remove method.
A sphere is defined by an axis and a radius. The third direction of the axis is the rotation
axis.
A piece of a full sphere is defined by limiting the meridian and parallel angles.
The meridian planes pass through the axis third direction,
the parallel planes are orthogonal to the axis third direction. A piece of a sphere
is defined by:
- Meridian start angle:
the low angle value of the meridians. Positive angles are defined by the right-hand rule.
Meridian start angle < Meridian end angle.
If specified angles are too large, the surface is swept around 2*Pi.
- Meridian end angle:
the high angle value of the meridians. Positive angles are defined by the right-hand rule.
iMeridianStart < iMeridianEnd.
If specified angles are too large, the surface is swept around 2*Pi.
- Parallel start angle:
the low angle value of the parallels. Positive angles are in the
direction of the sphere axis. Angles are counted from
the radius in the plane
defined by the first and second direction of the sphere axis.
iParallelStart >= -Pi/2 ; iParallelStart < iParallelEnd
- Parallel end angle:
the high angle value of the parallels. Positive angles are in the
direction of the sphere axis. Angles are counted from
the radius in the plane
defined by the first and second direction of the sphere axis.
iParallelEnd <= Pi/2; iParallelStart < iParallelEnd
Method Index
- o
GetMeridianEndAngle()
- Returns the high limitation of the meridians existence of this CATSphere.
- o
GetMeridianStartAngle()
- Returns the low limitation of the meridians existence of this CATSphere.
- o
GetParallelEndAngle()
- Returns the high limitation of the parallels existence of this CATSphere.
- o
GetParallelStartAngle()
- Returns the low limitation of the parallels existence of this CATSphere.
- o
GetRadius()
- Returns the radius of the CATSphere.
- o
Set(CATMathAxis&,double,CATAngle,CATAngle,CATAngle,CATAngle)
- Modifies all the characteristics of this CATSphere.
- o
SetRadius(double)
- Modifies the radius of this CATSphere.
Methods
o GetMeridianEndAngle
public virtual GetMeridianEndAngle( | ) |
-
Returns the high limitation of the meridians existence of this CATSphere.
- Returns:
- The high angle value of the meridians.
o GetMeridianStartAngle
public virtual GetMeridianStartAngle( | ) |
-
Returns the low limitation of the meridians existence of this CATSphere.
- Returns:
- The low angle value of the meridians.
o GetParallelEndAngle
public virtual GetParallelEndAngle( | ) |
-
Returns the high limitation of the parallels existence of this CATSphere.
- Returns:
- The high angle value of the parallels.
o GetParallelStartAngle
public virtual GetParallelStartAngle( | ) |
-
Returns the low limitation of the parallels existence of this CATSphere.
- Returns:
- The low angle value of the parallels.
o GetRadius
public virtual GetRadius( | ) |
-
Returns the radius of the CATSphere.
- Returns:
- The radius value.
o Set
public virtual Set( | const | iAxis, |
| const | iRadius, |
| const | iMeridianStart, |
| const | iMeridianEnd, |
| const | iParallelStart, |
| const | iParallelEnd) |
-
Modifies all the characteristics of this CATSphere.
- Parameters:
-
- iAxis
- The new axes system.
- iRadius
- The new radius.
- iMeridianStart
- The low angle value of the meridians.
- iMeridianEnd
- The high angle value of the meridians.
- iParallelStart
- The low angle value of the parallels.
- iParallelEnd
- The high angle value of the parallels.
o SetRadius
public virtual SetRadius( | | iRadius) |
-
Modifies the radius of this CATSphere.
- Parameters:
-
- iRadius
- The new radius value.
This object is included in the file: CATSphere.h
If needed, your Imakefile.mk should include the module: CATGMGeometricInterfaces
Copyright © 1999-2014, Dassault Systèmes. All rights reserved.