All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

NewTopologicalObjects Interface CATTopObject

System.IUnknown
  |
  +---System.IDispatch
    |
    +---System.CATBaseUnknown
      |
      +---GeometricObjects.CATICGMUnknown
        |
        +---GeometricObjects.CATICGMObject
          |
          +---GeometricObjects.CATGeometry
            |
            +---NewTopologicalObjects.CATTopology
              |
              +---CATTopObject
 

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


interface CATTopObject

Base interface representing a CATBody or a CATCell.


Method Index


o AddDomainWithLocation(CATDomain*,CATLocation)
Adds a CATDomain to this CATTopObject.
o GetDomain(CATLONG32,CATLocation*)
Returns the iNum-th CATDomain of this CATTopObject.
o GetNbDomains()
Returns the number of CATDomains of this CATTopObject.
o HasInfiniteGeometry()
Test whether this CATTopObject can be considered as infinite.
o RemoveDomain(CATDomain*,CATBoolean)
Removes a CATDomain from this CATTopObject.

Methods


o AddDomainWithLocation
public virtual void AddDomainWithLocation(CATDomain* iDomain,
CATLocation iLocation)=0
Adds a CATDomain to this CATTopObject.
For bodies, volumes and faces only.
Parameters:
iDomain
The pointer to the domain to add.
iLocation
The location of the domain to bound this.
o GetDomain
public virtual CATDomain* GetDomain(CATLONG32 iNum,
CATLocation* oLocation=NULL )= 0
Returns the iNum-th CATDomain of this CATTopObject.
Parameters:
iNum
The domain number starting at 1.
oLocation
The pointer to the corresponding CATLocation. If NULL in input, this is not output.
Returns:
The pointer to the iNum-th CATDomain.
o GetNbDomains
public virtual CATLONG32 GetNbDomains()=0
Returns the number of CATDomains of this CATTopObject.
Returns:
The number of domains.
o HasInfiniteGeometry
public virtual CATBoolean HasInfiniteGeometry()const =0
Test whether this CATTopObject can be considered as infinite.
Returns:
The infinity status of this.
Legal values: TRUE, if this contains (or is) an infinite cell or has a bounding box outside ModelSize, FALSE if it is finite topology.
o RemoveDomain
public virtual void RemoveDomain(CATDomain* iDomainToDetach,
CATBoolean iRemoveFromFactory= FALSE )=0
Removes a CATDomain from this CATTopObject.
For bodies, volumes and faces only.
Parameters:
iDomainToDetach
The pointer to the domain to detach from this. The domain still remains in the CATGeoFactory, but is not a boundary of this anymore in default mode.
iRemoveFromFactory
The action on the detached domain iDomainToDetach. Dedicated to the case where no more CATTopObject refers to iDomainToDetach.
Legal values:
FALSE
the iDomainToDetach remains in the factory
TRUE
the iDomainToDetach is removed from the factory with RemoveDependancies management

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

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