All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

AdvancedTopologicalOpe Class CATThickenOp

Mathematics.CATCGMVirtual
  |
  +---GeometricObjects.CATCGMOperator
    |
    +---NewTopologicalObjects.CATTopOperator
      |
      +---CATThickenOp
 

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


public class CATThickenOp

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 CATThickenOp operator is not streamable. To use it:


Constructor and Destructor Index


o ~CATThickenOp()

Method Index


o Append(ListPOfCATFace&,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 SetSharpBorderMode(short)
Defines how borders are transformed in the neighborhood of sharp edges.

Constructor and Destructor


o ~CATThickenOp
public virtual ~CATThickenOp()

Methods


o Append
public void Append( const ListPOfCATFace& iFaces,
double iOffset1,
double 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 CATBody * 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 CATICGMContainer.Remove method to remove it from the geometric factory, after the operator deletion.
o GetResult
public CATBody * 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 CATICGMContainer.Remove method to remove it from the geometric factory, after the operator deletion.
o Run
public int Run()
Runs this operator.
Returns:
The diagnosis of the computation.
Legal values: 1 if the computation failed, 0 otherwise.
o SetBooleanOperation
public void SetBooleanOperation(CATDynBooleanType iOpType,
CATBody* iOperandBody,
CATCGMJournalList* 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 SetSharpBorderMode
public void SetSharpBorderMode(short 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: CATThickenOp.h
If needed, your Imakefile.mk should include the module: CATAdvancedTopologicalOpe

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