GMOperatorsInterfaces CATICGMTopSweepWireSkin
Usage: you must use this class as is. You should never derive it.
public class CATICGMTopSweepWireSkin
Class defining the topological operator that creates a sweep between a skin body and a wire body.
The sweep is defined by
- a skin body, to which the generated sweep is tangent and defining the first extremity of the sweep.
- a wire guide, defining the second extremity.
- a spine wire body: defines the moving plane (orthogonal to the spine) that is
swept along the spine. In this moving plane, the sweep is an arc of circle tangent to the skin body
and limited by the wire body.
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.
- signature with respect to the wire orientation: the wire, the normal to the skin and the tangent
to the profile are counter clockwise or not.
- for a same skin and wire 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:
CATICGMTopSweepWireSkinCircle * pOp = CATCGMCreateTopSweepWireSkinCircle(factory,Skin,Wire,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
CATICGMTopSweepWireSkin()
- Constructor
Method Index
- o
GetResultInformation(int&,int&,int&)
- Retrieves the signature relative to the current resulting body.
- o
Run()
- Runs this operator.
- o
SetGuideOrientation(int)
- Defines the signature of the desired results with regards to the wire orientation.
- o
SetShellOrientation(int)
- Defines the signature of the desired results with regards to the skin orientation.
Constructor and Destructor
o CATICGMTopSweepWireSkin
public CATICGMTopSweepWireSkin( | ) |
-
Constructor
Methods
o GetResultInformation
public virtual GetResultInformation( | | ioShellOrientation, |
| | ioWireOrientation, |
| | ioIndex) |
-
Retrieves the signature relative to the current resulting body.
- Parameters:
-
- ioShellOrientation
- The signature with regards to the 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.
- ioWireOrientation
- The signature with regards to the wire orientation.
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 couple (ioShellOrientation, ioWireOrientation)
o Run
-
Runs this operator.
To retrieve the resulting bodies, use the iterator on the bodies provided by
.
o SetGuideOrientation
public virtual SetGuideOrientation( | const | iOrientation) |
-
Defines the signature of the desired results with regards to the wire orientation.
- Parameters:
-
- iOrientation
- The orientation of the trihedron defined by the the wire, the normal to the 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 SetShellOrientation
public virtual SetShellOrientation( | const | iOrientation) |
-
Defines the signature of the desired results with regards to the 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: CATICGMTopSweepWireSkin.h
If needed, your Imakefile.mk should include the module: CATGMOperatorsInterfaces
Copyright © 1999-2015, Dassault Systèmes. All rights reserved.