All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

VisualizationBase Class CATBoundingElement

System.IUnknown
  |
  +---VisualizationBase.CATVizBaseIUnknown
    |
    +---CATBoundingElement
 

Usage: you must use this class as is. You should never derive it.


public class CATBoundingElement

Base Class to manage bounds of elements.
Role:This class is used to manage the space used by elements. It is not used as such but through inheritance. The main class inheriting from this class are CAT3DBoundingElement for 3D element and CAT2DBoundingElement for 2D Elements.


Method Index


o IsContain()
Returns the contain state of the bounding element.
o IsEmpty()
Returns the empty state of the bounding element.
o IsInfinite()
Returns the infinite state of the bounding element.
o SetEmpty()
Sets the bounding element state to Empty.
o SetInfinite()
Sets the bounding element state to Infinite.

Methods


o IsContain
public inline int IsContain()
Returns the contain state of the bounding element.
Returns:
1 if state is CONTAIN or 0 otherwise.
o IsEmpty
public inline int IsEmpty()
Returns the empty state of the bounding element.
Returns:
1 if empty or 0 otherwise.
o IsInfinite
public inline int IsInfinite()
Returns the infinite state of the bounding element.
Returns:
1 if infinite or 0 otherwise.
o SetEmpty
public inline void SetEmpty()
Sets the bounding element state to Empty.
o SetInfinite
public inline void SetInfinite()
Sets the bounding element state to Infinite.

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

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