All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

GeometricObjects Interface CATSphere

System.IUnknown
  |
  +---System.IDispatch
    |
    +---System.CATBaseUnknown
      |
      +---GeometricObjects.CATICGMUnknown
        |
        +---GeometricObjects.CATICGMObject
          |
          +---GeometricObjects.CATGeometry
            |
            +---GeometricObjects.CATSurface
              |
              +---GeometricObjects.CATElementarySurface
                |
                +---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. It derives from the CATElementarySurface and is defined with:
CATMathAxis Axis The axes system whose center is the spere center
double Radius The sphere radius
CATAngle MeridianStart The low limitation of the meridians existence.
CATAngle MeridianEnd The high limitation of the meridians existence.
double ParallelStart The low limitation of the parallels existence
double ParallelEnd The high limitation of the parallels existence
The meridian planes are passing through the axis third direction. The parallel planes are othogonal to the axis third direction.
-Pi/2 <= ParallelStart Pi/2, ParallelStart < ParallelEnd<= Pi/2,
0 <= MeridianStart 2*Pi, MeridianStart < MeridianEnd<= 2*Pi.


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 CATAngle GetMeridianEndAngle()const=0
Returns the high limitation of the meridians existence of this CATSphere.
Returns:
The high angle value of the meridians.
o GetMeridianStartAngle
public virtual CATAngle GetMeridianStartAngle()const =0
Returns the low limitation of the meridians existence of this CATSphere.
Returns:
The low angle value of the meridians.
o GetParallelEndAngle
public virtual CATAngle GetParallelEndAngle()const=0
Returns the high limitation of the parallels existence of this CATSphere.
Returns:
The high angle value of the parallels.
o GetParallelStartAngle
public virtual CATAngle GetParallelStartAngle()const=0
Returns the low limitation of the parallels existence of this CATSphere.
Returns:
The low angle value of the parallels.
o GetRadius
public virtual double GetRadius()const =0
Returns the radius of the CATSphere.
Returns:
The radius value.
o Set
public virtual void Set( const CATMathAxis& iAxis,
const double iRadius,
const CATAngle iMeridianStart,
const CATAngle iMeridianEnd,
const CATAngle iParallelStart,
const CATAngle iParallelEnd)=0
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 void SetRadius(double iRadius)=0
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: CATGeometricObjects

Copyright © 2003, Dassault Systèmes. All rights reserved.