GMOperatorsInterfaces Interface CATICGMThickenOp

Usage: an implementation of this interface is supplied and you must use it as is. You should not reimplement it.


interface CATICGMThickenOp

Class defining the topological operator that thickens a skin body into a volume body.

A global offset value can be defined on the body, or faces to thicken can be individually chosen as well as the corresponding offset values.
This operator follows the global frame of the topological operators and satisfies the smart mechanism: the input body is not modified. A new resulting body is created, possibly sharing data with the input body. A CATICGMThickenOp operator is not streamable. To use it:


Method Index


o Append(CATLISTP(CATFace)&,double,double)
This API must not be used.
o GetBooleanResult()
Returns the body created from the Boolean operation between a given body and the thickened body.
o GetResult()
Returns the created thickened body.
o Run()
Runs this operator.
o SetBooleanOperation(CATDynBooleanType,CATBody*,CATCGMJournalList*)
Defines a Boolean operation between a given body and the result of this operator.
o SetCleverRibbonComputation(short)
Activates an enhanced algorithm (recommended).
o SetSharpBorderMode(short)
Defines how borders are transformed in the neighborhood of sharp edges.

Methods


o Append
public virtual Append( const iFaces,
iOffset1,
iOffset2= 0.)
This API must not be used. Defines offsets on individual faces.
Parameters:
iFaces
The list of pointer to the faces.
iOffset1
The smaller value of the offset in the side of the natural orientation of the skin.
iOffset2
The larger value of the offset in the side of the natural orientation of the skin.
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 created thickened body.
Returns:
The pointer to the result of this operator. 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 Run
public virtual Run()
Runs this operator.
Returns:
The diagnosis of the computation.
Legal values: 1 if the computation failed, 0 otherwise.
o SetBooleanOperation
public virtual SetBooleanOperation( iOpType,
iOperandBody,
iReport= 0)
Defines a Boolean operation between a given body and the result of this operator.
Parameters:
iOpType
The boolean operation type.
iOperandBody
The pointer to the body representing the first operand of the Boolean operation. The second operand is the result of the thicken.
iReport
A pointer to the journal corresponding to the Boolean operation. This journal can be different from the journal of the thicken operation itself. If NULL, the Boolean journal is not written.
o SetCleverRibbonComputation
public virtual SetCleverRibbonComputation( iCleverRibbonComputation= 1)
Activates an enhanced algorithm (recommended).
Parameters:
iCleverRibbonComputation
Enhanced algorithm is activated if 1 is specified, otherwise it is not activated.
o SetSharpBorderMode
public virtual SetSharpBorderMode( iSharpBorderOptimisation)
Defines how borders are transformed in the neighborhood of sharp edges.
Parameters:
iSharpBorderOptimisation

Legal values:
0
Optimization not required
1
Optimization required (Skin handled like a Volume)
This option has no effect when SetCleverRibbonComputation() is set to 1. Default value for optimisation is 1. (Optimization required).

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

Copyright © 1999-2015, Dassault Systèmes. All rights reserved.