All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

GeometricObjects Interface CATPCircle

System.IUnknown
  |
  +---System.IDispatch
    |
    +---System.CATBaseUnknown
      |
      +---GeometricObjects.CATICGMUnknown
        |
        +---GeometricObjects.CATICGMObject
          |
          +---GeometricObjects.CATGeometry
            |
            +---GeometricObjects.CATCurve
              |
              +---GeometricObjects.CATPCurve
                |
                +---CATPCircle
 

Usage: an implementation of this interface is supplied and you must use it as is. You should not reimplement it.


interface CATPCircle

Interface representing a circle in the space of a surface.

A CATPCircle is created by the CreatePCircle method of the CATGeoFactory interface and deleted with the Remove method
A CATPCircle is defined with:
CATSurface Sur The underlying surface
double R The radius
CATAngle iStart The low angle limitation
CATAngle iEnd The high angle limitation
with 0 <= iStart < CAT2PI, iStart < iEnd <= iStart + CAT2PI. The angles (in radian) are measured from the first direction of the surface.


Method Index


o GetCenter(CATSurParam&)
Returns the center of this CATPCircle.
o GetEndAngle()
Returns the high limitation angle of this CATPCircle.
o GetRadius()
Returns the radius of this CATPCircle.
o GetStartAngle()
Returns the low limitation angle of this CATPCircle.
o Set(double,CATSurParam&,CATAngle,CATAngle,CATSurface*)
Modifies the characteristics of this CATPCircle.
o SetCenter(CATSurParam&)
Modifies the center of this CATPCircle.
o SetRadius(double)
Modifies the radius of this CATPCircle.

Methods


o GetCenter
public virtual void GetCenter(CATSurParam& ioCenter) const = 0
Returns the center of this CATPCircle.
Parameters:
ioCenter
The center.
o GetEndAngle
public virtual CATAngle GetEndAngle()const = 0
Returns the high limitation angle of this CATPCircle.
Returns:
The end angle (in radian) limitation, measured from the first direction of the surface.
o GetRadius
public virtual double GetRadius()const = 0
Returns the radius of this CATPCircle.
Returns:
The radius.
o GetStartAngle
public virtual CATAngle GetStartAngle()const = 0
Returns the low limitation angle of this CATPCircle.
Returns:
The first angle (in radian) limitation, measured from the first direction of the surface.
o Set
public virtual void Set( const double iRadius,
const CATSurParam& iCenter,
const CATAngle iStart,
const CATAngle iEnd,
CATSurface* iSupport) = 0
Modifies the characteristics of this CATPCircle.
Parameters:
iRadius
The new value of the radius.
iNewCenter
The new center.
iStart
The first angle (in radian) limitation, measured from the first direction of the surface.
iEnd
The end angle (in radian) limitation, measured from the first direction of the surface. param iSupport A pointer to the underlying surface.
o SetCenter
public virtual void SetCenter( const CATSurParam& iNewCenter) = 0
Modifies the center of this CATPCircle.
Parameters:
iNewCenter
The new center.
o SetRadius
public virtual void SetRadius( const double iNewRadius) = 0
Modifies the radius of this CATPCircle.
Parameters:
iRadius
The new value of the radius.

This object is included in the file: CATPCircle.h
If needed, your Imakefile.mk should include the module: CATGeometricObjects

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