GMOperatorsInterfaces Interface CATICGMCloseOperator
Usage: an implementation of this interface is supplied and you must use it as is. You should not reimplement it.
interface CATICGMCloseOperator
Class representing the operator that closes a skin body.
If the body is a closed shell (set of faces), it simply creates a volume body out of it.
If it is an open shell, it will try to close it with as many planar faces as possible.
The close operator can not create new edges. For instance, trying to
close a half-cylinder surface face will fail, because, even if it may
be closed by three planes, two new edges need to be created (at the
intersection of those planes).
To use it:
- Create it with the CATCGMCreateCloseOperator global function.
- Tune it with appropriate options, using the SetXxx methods.
- Run it
- Get the resulting GetResult method. If you do not want
to keep these resulting body, use the method to remove them from the geometric factory, after the operator deletion.
- Release the operator with the Release method after use.
Method Index
- o
GetBooleanResult()
- Returns the body created from the Boolean operation between a given body and the thickened body.
- o
GetResult()
- Returns the resulting body of the closure operation.
- o
Run()
- Runs the operator.
- o
SetBooleanOperation(CATDynBooleanType,CATBody*,CATCGMJournalList*)
- Asks for a boolean operation with the output of the operator
(the so called closed skin) and iOperandBody.
Methods
o GetBooleanResult
public virtual GetBooleanResult( | ) |
-
Returns the body created from the Boolean operation between a given body and the thickened body.
- Returns:
- The pointer to the Boolean result.
If you do not want to keep the resulting body,
use the
method to remove it from the geometric factory, after the operator deletion.
o GetResult
public virtual GetResult( | ) |
-
Returns the resulting body of the closure operation.
- Returns:
- The pointer to the created body.If you do not want
to keep these resulting body, use the
method to remove them from the geometric factory, after the operator deletion.
o Run
-
Runs the operator.
- Returns:
-
Legal values: 0 if ok, 1 if failed
o SetBooleanOperation
public virtual SetBooleanOperation( | | iOpType, |
| | iOperandBody, |
| | iReport | = 0) |
-
Asks for a boolean operation with the output of the operator
(the so called closed skin) and iOperandBody.
- Parameters:
-
- iReport
- The pointer to the journal to fill, if not NULL.
It can be different from the operator journal given in CATTopData.
This object is included in the file: CATICGMCloseOperator.h
If needed, your Imakefile.mk should include the module: CATGMOperatorsInterfaces
Copyright © 1999-2015, Dassault Systèmes. All rights reserved.