GMOperatorsInterfaces CATICGMTopSweepSkinSkinSegment
Usage: you must use this class as is. You should never derive it.
public class CATICGMTopSweepSkinSkinSegment
Class defining the topological operator that creates a sweep between a two skin bodies.
The sweep is defined by
- a skin body, to which the generated sweep is tangent and defining the first extremity of the sweep.
- a skin body, to which the generated sweep is tangent and defining the second extremity of the sweep..
- a spine wire body: defines the moving plane (orthogonal to the spine) that is
swept along the spine.
As several solutions can be found, signatures are defined to distinguish them
- signature with regards to the skin orientation: the solution is on the semi-space defined by the
normal to the skin, or in the opposite semi-space, or in both.
- for a same skin1 and skin2 signatures, the rank of the solution.
This operator follows the general scheme of the topological operators producing several resulting bodies:
- Create the operator with the global function
- Set the parameters,
- Run,
- Get the resulting bodies (in this case, use the iterator on the resulting bodies, because
several bodies can be solution of the computation).
- Release the operator with the Release method.
Sample:
CATICGMTopSweepSkinSkinSegment * pOp = CATCGMCreateTopSweepSkinSkinSegment(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);
}
pOp->Release();
Constructor and Destructor Index
- o
CATICGMTopSweepSkinSkinSegment()
- Constructor
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 CATICGMTopSweepSkinSkinSegment
public CATICGMTopSweepSkinSkinSegment( | ) |
-
Constructor
Methods
o GetResultInformation
public virtual GetResultInformation( | | ioFirstShellOrientation, |
| | ioSecondShellOrientation, |
| | oCoupledFirstOrientation, |
| | oCoupledSecondOrientation, |
| | 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
-
Runs this operator.
To retrieve the resulting bodies, use the iterator on the bodies provided by
.
o SetFirstCoupledOrientation
public virtual SetFirstCoupledOrientation( | const | 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 virtual SetFirstShellModeTrim( | | iMode) |
-
Defines the mode chosen for first skin
- Parameters:
-
- iMode
o SetFirstShellOrientation
public virtual SetFirstShellOrientation( | const | 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 SetSecondCoupledOrientation( | const | 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 virtual SetSecondShellModeTrim( | | iMode) |
-
Defines the mode chosen for second skin
- Parameters:
-
- iMode
- The segmentation mode (trim - no trim - trim on support)
o SetSecondShellOrientation
public virtual SetSecondShellOrientation( | const | 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: CATICGMTopSweepSkinSkinSegment.h
If needed, your Imakefile.mk should include the module: CATGMOperatorsInterfaces
Copyright © 1999-2015, Dassault Systèmes. All rights reserved.