All Frameworks Class Hierarchy This Framework Previous Next Indexes
TopologicalOperators Class CATTopRevol
Mathematics.CATCGMVirtual
|
+---GeometricObjects.CATCGMOperator
|
+---NewTopologicalObjects.CATTopOperator
|
+---TopologicalOperators.CATTopExtrude
|
+---CATTopRevol
Usage: you must use this class as is. You should never derive it.
public class CATTopRevol
Class representing the topological operator that revolves a profile.
The operator revolves
- either a wire body, and creates a skin body
- or a skin body, and creates a volume body.
In addition to the revolution creation, this operator provides the capability
to use a Boolean operation between a body (called trimming body), and the
created prism. To obtain such result, use the CATTopExtrude.SetOperation and
CATTopExtrude.SetTrim mehods of the parent class.
The CATTopRevol 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 CATTopRevol operator is not streamable.
To use it:
- Create it with the CATCreateTopRevol global function.
- Tune it with appropriate options, using the SetXxx methods. In particular,
define the type of limitations, and, if needed, the Boolean operation.
- Run it
- Get the resulting extrusion with the
CATTopExtrude.GetResult method, and the result of the Boolean operation with the
CATTopExtrude.GetBooleanResult method. If you do not want to keep these resulting bodies, use the
CATICGMContainer.Remove method to remove them from the geometric factory, after the operator deletion.
- Delete it after use with the usual C++ delete operator.
Constructor and Destructor Index
- o
~CATTopRevol()
- Destructor.
Method Index
- o
GetLength(CATMathPoint&,CATMathDirection&,double&,double&)
- Retrieves the main features of the created revolution.
- o
SetLimit(CATTopLimit,CATTopLimitType,CATLength,CATGeometry*,CATBody*,CATTopPropagationType,CATBoolean)
- Defines the type of limitation of each extremity along the profile.
- o
SetLimit(CATTopLimit,CATTopLimitType,CATLength,ListPOfCATCell&,CATBody*,CATTopPropagationType,CATBoolean)
- Defines the type of limitation of each extremity along the profile.
Constructor and Destructor
o ~CATTopRevol
public virtual ~CATTopRevol( | ) |
-
Destructor.
Methods
o GetLength
-
Retrieves the main features of the created revolution.
To use after the Run method, to retrieve an upper bound of the prism length.
- Parameters:
-
- iOrigin
- The reference from which the distances are computed.
- iDirection
- The direction in which the distances are computed.
- oLengthMin
- The distance from iOrigin of the first limit.
- oLengthMax
- The distance from iOrigin of the end limit.
o SetLimit
-
Defines the type of limitation of each extremity along the profile.
To be called for each extremity, if you do not want to keep
the default options of the global creation function.
- Parameters:
-
- iId
- The first or last extremity.
- iType
- The type of limit on the extremity.
- iOffset
- Either the value of the offset if iType is valued to CatLimOffsetFromProfile,
or the value of the thickness if iIsThickness is valued to CATBoolean(1)
- iLimit
- The pointer to the geometry ( deprecated ) or a body that stops the extrusion.
- iPropagationBody
- The pointer to the body which contains iLimit, thus allowing the
propagation of the trimming specification. To use if iType = CatLimUntil and
iPropagationFlag = CatPropagClosing or if iType = CatLimNextAlongAxis
or iType = CatLimLastAlongAxis
- iPropagationFlag
- The management of the propagation.
- iIsThickness
- Defines whether a thickness is applied from the body iPropagationBody to define the relimitation.
In this case, the value of the the thickness is iOffset
o SetLimit
-
Defines the type of limitation of each extremity along the profile.
To be called for each extremity , if you do not want to keep
the default options of the global creation function.
- Parameters:
-
- iId
- The first or last extremity.
- iType
- The type of limit on the extremity.
- iOffset
- Either the value of the offset if iType is valued to CatLimOffsetFromProfile,
or the value of the thickness if iIsThickness is valued to CATBoolean(1)
- iLimit
- The list of pointers to faces belonging to iPropagationBody that stop the extrusion.
- iPropagationBody
- The pointer to the body which contains iLimit, thus allowing the
propagation of the trimming specification. To use if iType = CatLimUntil and
iPropagationFlag = CatPropagClosing or if iType = CatLimNextAlongAxis
or iType = CatLimLastAlongAxis
- iPropagationFlag
- The management of the propagation.
- iIsThickness
- Defines whether a thickness is applied from the body iPropagationBody to define the relimitation.
In this case, the value of the the thickness is iOffset
This object is included in the file: CATTopRevol.h
If needed, your Imakefile.mk should include the module: CATTopologicalOperators