All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

GeometricObjects Interface CATIForeignSurface

System.IUnknown
  |
  +---System.IDispatch
    |
    +---System.CATBaseUnknown
      |
      +---GeometricObjects.CATICGMUnknown
        |
        +---GeometricObjects.CATICGMObject
          |
          +---GeometricObjects.CATGeometry
            |
            +---GeometricObjects.CATSurface
              |
              +---CATIForeignSurface
 

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


interface CATIForeignSurface

Interface representing the foreign bi-parameterized geometric elements.

A foreign surface is introduced into CGM by filling the CATIForeignSurface object data with a CATForeignSurfaceData. Then, it is automatically integrated into CGM, and can be used as any CATSurface by the operators and the topology. To create your own surface type, you have to derive the CATForeignSurfaceData class, and re-write the methods that are associated with.
A CATIForeignSurface object is create through the method CATGeoFactory::CreateForeignSurface and deleted with the Remove method.

See also:
CATForeignSurfaceData


Method Index


o Extrapolate(CATMathVector2D&,CATMathVector2D*)
Changes the maximum limitations of this CATIForeignSurface.
o GetData()
Retrieves a pointer to the data of this CATIForeignSurface.

Methods


o Extrapolate
public virtual CATBoolean Extrapolate( const CATMathVector2D& iRequiredParamExtension,
CATMathVector2D* ioActualExtension= NULL )= 0
Changes the maximum limitations of this CATIForeignSurface.
Parameters:
iRequiredParamExtension
The value of the extension.
  • if iRequiredParamExtension.GetX() > 0, Umax is expected to increase by this value,
  • if iRequiredParamExtension.GetY() < 0 , Vmin is expected to decrease,
  • if null, no change is required in the related direction.
ioActualExtension
If ioActualExtension is NULL, no information on actual extrapolation is required.
o GetData
public virtual CATForeignSurfaceData * GetData()const = 0
Retrieves a pointer to the data of this CATIForeignSurface.
Returns:
A pointer to the data. As part of the CATIForeignSurface, it must not be deleted.

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

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