GMOperatorsInterfaces CATICGMTopologicalBlendCurve
Usage: you must use this class as is. You should never derive it.
public class CATICGMTopologicalBlendCurve
Class defining the topological operator that connects two wire bodies.
Continuity criteria can be precised: G0, G1 or G2.
The CATICGMTopologicalBlendCurve operator follows the global frame of the topological operators
and satisfies the smart mechanism:
the input bodies are not modified. A new resulting body is created,
possibly sharing data with the input bodies. The resulting blend can be created
separately from the inputs, or linked to the inputs according to the SetTrimmingMode method.
- A CATICGMTopologicalBlendCurve operator is created with the CATCGMCreateTopologicalBlendCurve global function.
It must be directly released with the Release method after use. It is is not streamable.
- Options can be precised with the SetXxx methods, before
asking for the computation with the Run method
- The result is accessed with the GetResult method. If you do not want
to keep the resulting body, use the method to remove it from the geometric factory.
Constructor and Destructor Index
- o
CATICGMTopologicalBlendCurve()
- Constructor
Method Index
- o
Run()
- Runs this operator (ADVANCED mode).
- o
SetCurvatureParameter(CATLONG32,double)
- Defines the influence of the curvature constraint (ADVANCED mode).
- o
SetCurve(CATLONG32,CATBody*)
- Defines the topological blend curve limits (ADVANCED mode).
- o
SetCurveParam(CATLONG32,CATBody*)
- Defines the topological blend curve limits (ADVANCED mode).
- o
SetDefaultConfiguration(CATLONG32,CATLONG32&)
- Returns the starting direction keeping the wire of greatest length (ADVANCED mode).
- o
SetSupportTrimmingMode(CATLONG32,CATLONG32)
- Defines whether the input bodies must be trimmed (ADVANCED mode).
- o
SetTangencyParameter(CATLONG32,double)
- Defines the influence of the tangency constraint (ADVANCED mode).
- o
SetTransitionContinuity(CATLONG32,CATLONG32)
- Defines the continuity criteria to take into account for a given wire (ADVANCED mode).
- o
SetTransitionOrientation(CATLONG32,CATLONG32)
- Modifies the starting direction of the connecting wire (ADVANCED mode).
Constructor and Destructor
o CATICGMTopologicalBlendCurve
public CATICGMTopologicalBlendCurve( | ) |
-
Constructor
Methods
o Run
-
Runs this operator (ADVANCED mode).
It is possible to Run the operator with different inputs or parameters. Each time,
a new body is created, that you must remove from the geometric factory
if you do not want to keep it.
o SetCurvatureParameter
public virtual SetCurvatureParameter( | const | iWhichWire, |
| const | iCurvatureParameter) |
-
Defines the influence of the curvature constraint (ADVANCED mode).
- Parameters:
-
- iWhichWire
- The first (1) or the second (2) input wire.
- iCurvatureParameter
- The value to multiply the curvature, in order to increase or decrease its influence.
o SetCurve
public virtual SetCurve( | const | iWhichWire, |
| | iWire) |
-
Defines the topological blend curve limits (ADVANCED mode).
- Parameters:
-
- iWhichWire
- The first (1) or second (2) wire body.
- iWire
- The pointer to the new first wire.
o SetCurveParam
public virtual SetCurveParam( | const | iWhichWire, |
| | iWireParam) |
-
Defines the topological blend curve limits (ADVANCED mode).
- Parameters:
-
- iWhichWire
- The first (1) or second (2) wire body.
- iWireParam
- The pointer to the new vertex body, defining where the connection must be done.
o SetDefaultConfiguration
public virtual SetDefaultConfiguration( | const | iWhichWire, |
| | oTransitionOrientation) |
-
Returns the starting direction keeping the wire of greatest length (ADVANCED mode).
- Parameters:
-
- iWhichWire
- The first (1) or the second (2) input wire.
- oTransitionOrientation
- The default orientation of the iWhichWire.
Legal values: 1 if the connecting wire starts in the natural orientation of
iWhichWire, -1
for the opposite orientation.
o SetSupportTrimmingMode
public virtual SetSupportTrimmingMode( | const | iWhichWire, |
| const | iTrimmingMode) |
-
Defines whether the input bodies must be trimmed (ADVANCED mode).
- Parameters:
-
- iWhichWire
- The first (1) or second (2) wire body.
- iTrimmingMode
- The trimming mode fot iWhichWire.
Legal values: 0 if iWhichWire is not trimmed, 1 if
it is trimmed according to the smart mechanism.
o SetTangencyParameter
public virtual SetTangencyParameter( | const | iWhichWire, |
| const | iTangencyParameter) |
-
Defines the influence of the tangency constraint (ADVANCED mode).
- Parameters:
-
- iWhichWire
- The first (1) or the second (2) input wire.
- iTangencyParameter
- The value to multiply the tangent, in order to increase or decrease its influence.
o SetTransitionContinuity
public virtual SetTransitionContinuity( | const | iWhichWire, |
| const | iTransitionContinuity) |
-
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 (default value),
2 for G2 continuity.
o SetTransitionOrientation
public virtual SetTransitionOrientation( | const | iWhichWire, |
| const | iTransitionOrientation) |
-
Modifies the starting direction of the connecting wire (ADVANCED mode).
- Parameters:
-
- iWhichWire
- The first (1) or the second (2) input wire.
- oTransitionOrientation
- The orientation of the starting direction, with regards to the default direction given by
SetDefaultConfiguration.
Legal values: 1 if the connecting wire starts in the default orientation given
by SetDefaultConfiguration, -1
for the opposite orientation.
This object is included in the file: CATICGMTopologicalBlendCurve.h
If needed, your Imakefile.mk should include the module: CATGMOperatorsInterfaces
Copyright © 1999-2015, Dassault Systèmes. All rights reserved.