All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

AdvancedTopologicalOpe Class CATTopologicalBlend

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

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


public class CATTopologicalBlend


Deprecated:
V5R10 CATTopBlend Class defining the topological operator that connects two wires with a skin.
Continuity criteria can be precised: G0, G1 or G2 if the supporting surfaces of the wires are given, G0 otherwise.
The CATTopologicalBlend operator creates the resulting blend separately from the inputs: the topology of the input bodies is not used to define the topology of the resulting body.


Constructor and Destructor Index


o ~CATTopologicalBlend()

Method Index


o GetMode()
Returns the mode of creation of the blend surface.
o GetResult()
Returns the result of this operator.
o GetTwistTreatment()
Returns the level of the twist detection (ADVANCED mode).
o GetValidity()
Returns the result of the twist detection.
o SetBasicTangencyContinuityMode(CATBlendTgContMode)
Defines the way of construction of the second rank of control points of the blend surface (ADVANCED mode).
o SetDefaultConfiguration(CATLONG32&,CATLONG32&,CATLONG32&,CATLONG32&)
Retrieves the default orientations taken by this operator (ADVANCED mode).
o SetMode(CATLONG32)
Defines the mode of creation of the blend surface (ADVANCED mode).
o SetTransitionContinuity(CATLONG32,CATLONG32)
Defines the continuity criteria to take into account for a given wire (ADVANCED mode).
o SetTransitionOrientation(CATLONG32,CATLONG32)
Defines the relative orientation of the wire (ADVANCED mode).
o SetTwistTreatment(CATLONG32)
Defines the level of twist detection (ADVANCED mode).
o SetWireOrientation(CATLONG32,CATLONG32)
Defines the relative orientation of the wire (ADVANCED mode).

Constructor and Destructor


o ~CATTopologicalBlend
public virtual ~CATTopologicalBlend()

Methods


o GetMode
public virtual CATLONG32 GetMode()const = 0
Returns the mode of creation of the blend surface.
Parameters:
iMode
The mode of the blend surface.
Legal values:
0
Analytical mode: the control points of the wire are taken to build the blend surface. In some cases depending on the input geometry, the surface canot be created.
1
Geometrical mode: the blend surface is computed by tracing (or marching) the solution along the wire.
o GetResult
public virtual CATBody * GetResult()=0
Returns the result of this operator.
Returns:
The pointer to the created body. You must delete it with the CATICGMContainer.Remove method if you do not want to keep it.
o GetTwistTreatment
public virtual CATLONG32 GetTwistTreatment()const=0
Returns the level of the twist detection (ADVANCED mode).
Returns:
The level.
Legal values:
0
No twist detection.
1
A twist detection (this is a rough computation that may be too strict). This is the default value.
o GetValidity
public virtual CATLONG32 GetValidity()const =0
Returns the result of the twist detection.
Returns:
The diagnosis of the twist detection.
Legal values:
1
The surface is not twisted and was computed.
0
The surface is twisted and the blend was not computed.
-1
No diagnosis (in case of twist detection level = 0).
o SetBasicTangencyContinuityMode
public virtual void SetBasicTangencyContinuityMode( const CATBlendTgContMode iBlendTgContMode)=0
Defines the way of construction of the second rank of control points of the blend surface (ADVANCED mode).
In case of analytical mode and G1 or G2 continuity.
Parameters:
iBlendTgContMode
The way of construction. By default, it is set to CATBlendCrossTgCont.
o SetDefaultConfiguration
public virtual void SetDefaultConfiguration(CATLONG32& oWireOrientationSide1,
CATLONG32& oWireOrientationSide2,
CATLONG32& oTransitionOrientationSide1,
CATLONG32& oTransitionOrientationSide2)=0
Retrieves the default orientations taken by this operator (ADVANCED mode).
The operator does an analysis of the inputs, in order to avoid twisted surfaces for examples. This method returns the relative orientations found after this analysis. Let T=oWireOrientationSide * (Tangent Vector to Wire) be the tangent to the wire, corrected by the default orientation. Let now N be the normal to the skin body. The transition orientation defines how the blend goes from the initial wires: it takes the direction of oTransitionOrientationSide*(T^N), where ^ is the vectorial product.
Parameters:
oWireOrientationSide1
The default orientation of the first wire.
Legal values: 1 if the first wire is taken with its natural orientation, -1 for an opposite orientation.
oWireOrientationSide2
The default orientation of the second wire. Not use in case of extrapolation.
Legal values: 1 if the second wire is taken with is natural orientation, -1 for an opposite orientation.
oTransitionOrientationSide1
The transition from the first wire.
oTransitionOrientationSide2
The transition from the second wire.
o SetMode
public virtual void SetMode(CATLONG32 iMode) = 0
Defines the mode of creation of the blend surface (ADVANCED mode).
Parameters:
iMode
The mode of the blend surface.
Legal values:
0
Analytical mode: in case of simple geometrical wire (such as iso-parametric line on a surface in G1 or G2 continuity or Nurbs in case of G0 continuity), the control points of the wire are taken to build the blend surface. In some cases depending on the input geometry, the surface cannot be created.
1
Geometrical mode: the blend surface is computed by tracing (or marching) the solution along the wire.
2
Automatic mode: automatically choose the more appropriate mode (default mode in BASIC use)
o SetTransitionContinuity
public virtual void SetTransitionContinuity( const CATLONG32 iWhichWire,
const CATLONG32 iTransitionContinuity)=0
Defines the continuity criteria to take into account for a given wire (ADVANCED mode).
Parameters:
iWhichWire
The first (1) or the second (2) input wire.
iTransitionContinuity
The continuity criteria
Legal values: 0 for G0 continuity, 1 for G1 continuity, 2 for G2 continuity.
o SetTransitionOrientation
public virtual void SetTransitionOrientation( const CATLONG32 iSide,
const CATLONG32 iTransitionOrientation)=0
Defines the relative orientation of the wire (ADVANCED mode).
Parameters:
iWhichWire
The first (1) or the second (2) input wire.
iTransitionContinuity
The relative transition with respect to the default given by the SetDefaultConfiguration method.
Legal values: 1 if the transition of the iWhichWire wire is the default computed by this operator, -1 for the opposite transition.
o SetTwistTreatment
public virtual void SetTwistTreatment(CATLONG32 iLevel)=0
Defines the level of twist detection (ADVANCED mode).
Parameters:
iLevel
The level.
Legal values:
0
No twist detection.
1
A twist detection (this is a rough computation that may be too strict). This is the default value.
o SetWireOrientation
public virtual void SetWireOrientation( const CATLONG32 iWhichWire,
const CATLONG32 iWireOrientation) = 0
Defines the relative orientation of the wire (ADVANCED mode).
Parameters:
iWhichWire
The first (1) or the second (2) input wire.
iWireOrientation
The relative orientation with respect to the default given by the SetDefaultConfiguration method.
Legal values: 1 if the orientation of the iWhichWire wire is the default computed by this operator, -1 for the opposite orientation.

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

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