All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

TopologicalOperators Class CATTopSweepSkinSkinSegment

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

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


public class CATTopSweepSkinSkinSegment

Class defining the topological operator that creates a sweep between a two skin bodies.

The sweep is defined by

As several solutions can be found, signatures are defined to distinguish them This operator follows the general scheme of the topological operators producing several resulting bodies: Sample:
 
 CATTopSweepSkinSkinSegment * pOp =  CATCreateTopSweepSkinSkinSegment(factory,Skin1,Skin2,Spine);
 pOp->Run();
 pOp->BeginningResult();
 int nbBodies = pOp->GetNumberOfResults();
 for (int iBody = 1 ; iBody <= nbBodies ; iBody ++)
 {
   pOp->NextResult();
   CATBody * pCurBody = pOp->GetResult(pReport);
 }  
 delete pOp;


Constructor and Destructor Index


o ~CATTopSweepSkinSkinSegment()

Method Index


o GetResultInformation(int&,int&,int&,int&,int&)
Retrieves the signature relative to the current resulting body.
o Run()
Runs this operator.
o SetFirstCoupledOrientation(int)
Defines the signature of the desired results with regards to the first coulped orientation.
o SetFirstShellModeTrim(CATDynSegmentationMode)
Defines the mode chosen for first skin
o SetFirstShellOrientation(int)
Defines the signature of the desired results with regards to the first skin orientation.
o SetSecondCoupledOrientation(int)
Defines the signature of the desired results with regards to the second coulped orientation.
o SetSecondShellModeTrim(CATDynSegmentationMode)
Defines the mode chosen for second skin
o SetSecondShellOrientation(int)
Defines the signature of the desired results with regards to the second skin orientation.

Constructor and Destructor


o ~CATTopSweepSkinSkinSegment
public virtual ~CATTopSweepSkinSkinSegment()

Methods


o GetResultInformation
public virtual void GetResultInformation(int& ioFirstShellOrientation,
int& ioSecondShellOrientation,
int& oCoupledFirstOrientation,
int& oCoupledSecondOrientation,
int& ioIndex)
Retrieves the signature relative to the current resulting body.
Parameters:
ioFirstShellOrientation
The signature with regards to the first skin orientation.
Legal values:
1
The results are in the semi-space defined by the normal to the skin.
-1
The results are in the semi-space defined by the opposite to the normal to the skin.
0
All the results must be output (1, -1, 2 cases all together).
2
The results change of semi-space along the spine.
ioSecondShellOrientation
The signature with regards to the second skin orientation.
Legal values:
1
The results are in the semi-space defined by the normal to the skin.
-1
The results are in the semi-space defined by the opposite to the normal to the skin.
0
All the results must be output (1, -1, 2 cases all together).
2
The results change of semi-space along the spine.
oCoupledFirstOrientation
The orientation of the trihedron defined by the the spine, the normal to the first skin and the tangent to the profile.
Legal values:
1
The output results are such that the triedron is counter clockwise.
-1
The output results are such that the triedron is clockwise.
0
All the results must be output (1, -1, 2 cases all together).
2
The orientation of the trihedron changes along the spine.
oCoupledSecondOrientation
The orientation of the trihedron defined by the the spine, the normal to the second skin and the tangent to the profile.
Legal values:
1
The output results are such that the triedron is counter clockwise.
-1
The output results are such that the triedron is clockwise.
0
All the results must be output (1, -1, 2 cases all together).
2
The orientation of the trihedron changes along the spine.
ioIndex
The rank (beginning at 1) of the current body inside a given quadruple (ioFirstShellOrientation, ioSecondShellOrientation, oCoupledFirstOrientation, oCoupledSecondOrientation)
o Run
public virtual int Run()
Runs this operator.
To retrieve the resulting bodies, use the iterator on the bodies provided by CATTopMultiResult.
o SetFirstCoupledOrientation
public virtual void SetFirstCoupledOrientation( const int iOrientation)
Defines the signature of the desired results with regards to the first coulped orientation.
Parameters:
iOrientation
The orientation of the trihedron defined by the the spine, the normal to the first skin and the tangent to the profile.
Legal values:
1
The output results are such that the triedron is counter clockwise.
-1
The output results are such that the triedron is clockwise.
0
All the results must be output (1, -1, 2 cases all together).
2
The orientation of the trihedron changes along the spine.
o SetFirstShellModeTrim
public void SetFirstShellModeTrim(CATDynSegmentationMode iMode)
Defines the mode chosen for first skin
Parameters:
iMode
The segmentation mode (trim - no trim - trim on support)
o SetFirstShellOrientation
public virtual void SetFirstShellOrientation( const int iOrientation)
Defines the signature of the desired results with regards to the first skin orientation.
Parameters:
iOrientation
The semi-space to which the solution belongs.
Legal values:
1
The results are in the semi-space defined by the normal to the skin.
-1
The results are in the semi-space defined by the opposite to the normal to the skin.
0
All the results must be output (1, -1, 2 cases all together).
2
The results change of semi-space along the spine.
o SetSecondCoupledOrientation
public virtual void SetSecondCoupledOrientation( const int iOrientation)
Defines the signature of the desired results with regards to the second coulped orientation.
Parameters:
iOrientation
The orientation of the trihedron defined by the the spine, the normal to the second skin and the tangent to the profile.
Legal values:
1
The output results are such that the triedron is counter clockwise.
-1
The output results are such that the triedron is clockwise.
0
All the results must be output (1, -1, 2 cases all together).
2
The orientation of the trihedron changes along the spine.
o SetSecondShellModeTrim
public void SetSecondShellModeTrim(CATDynSegmentationMode iMode)
Defines the mode chosen for second skin
Parameters:
iMode
The segmentation mode (trim - no trim - trim on support)
o SetSecondShellOrientation
public virtual void SetSecondShellOrientation( const int iOrientation)
Defines the signature of the desired results with regards to the second skin orientation.
Parameters:
iOrientation
The semi-space to which the solution belongs.
Legal values:
1
The results are in the semi-space defined by the normal to the skin.
-1
The results are in the semi-space defined by the opposite to the normal to the skin.
0
All the results must be output (1, -1, 2 cases all together).
2
The results change of semi-space along the spine.

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

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