All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

NewTopologicalObjects Class CATTopMultiResult

Mathematics.CATCGMVirtual
  |
  +---GeometricObjects.CATCGMOperator
    |
    +---NewTopologicalObjects.CATTopOperator
      |
      +---CATTopMultiResult
 

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


public class CATTopMultiResult

Base class for all the operators that output several resulting bodies.


Constructor and Destructor Index


o ~CATTopMultiResult()

Method Index


o BeginningResult()
Initializes the iterator to the resulting bodies created after a run of this operator.
o GetNumberOfResults()
Returns the number of bodies that are created after a run of this operator.
o GetResult(CATCGMJournalList*)
Returns a pointer to the current body.
o NextResult()
Skips to the next (and the first in particular) resulting body created after a run of this operator.

Constructor and Destructor


o ~CATTopMultiResult
public virtual ~CATTopMultiResult()

Methods


o BeginningResult
public void BeginningResult()
Initializes the iterator to the resulting bodies created after a run of this operator.
o GetNumberOfResults
public CATLONG32 GetNumberOfResults()const
Returns the number of bodies that are created after a run of this operator.
o GetResult
public virtual CATBody * GetResult(CATCGMJournalList* iJournal)
Returns a pointer to the current body.
To call after the Next method.
Parameters:
iJournal
The associated journal if not 0.
Returns:
A pointer to the current body.
o NextResult
public CATBoolean NextResult()
Skips to the next (and the first in particular) resulting body created after a run of this operator.
Returns:
The existence of the current resulting body.
Legal values:
TRUE
if there is a next solution body.
FALSE
there is no solution body anymore.

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

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