All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

NewTopologicalObjects Class CATPositionPtVolOperator

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

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


public class CATPositionPtVolOperator

Class defining the operator that tests the position of a 3D point with respect to a volume.
The CATPositionPtVolOperator operator is created with the CATCreatePositionPtVolOperator global function. It must be directly deleted with the usual C++ delete operator after use. It is not streamable.

  • It must be executed by the Run method.
  • The result ot the test is accessed with the GetLocationResult method.


    Method Index


    o GetLocationResult()
    Returns the 3D point location.
    o Run()
    Runs this operator.

    Methods


    o GetLocationResult
    public virtual CATLocation GetLocationResult()= 0
    Returns the 3D point location.
    To be called after the Run method.
    Returns:
    CATLocationInner
    if the point is inside the volume
    CATLocationOuter
    if the point is out of the volume
    CATLocationFull
    if the point is on the boundary of the volume.
    o Run
    public virtual int Run()= 0
    Runs this operator.

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

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