CATFreeStyleUseItf Interface CATIStConnectionMeasure
Usage: an implementation of this interface is supplied and you must use it as is. You should not reimplement it.
interface CATIStConnectionMeasure
Class defining the operator that measures the maximum deviation between two mono-dimensional
or bi-dimensional cells for the specified continuity level.
- Create the operator with the global function CATCreateStConnectionMeasure
- Set the operator geometrical inputs (cells and bodies).
- Set the continuity level (G0/G1/G2).
- Run with the Run method
- Get the results with the corresponding methods.
- Release this interface when it is not needed anymore.
Method Index
- o
GetMaxDeviationG0(double&)
- Retrieves the maximum deviation for G0 continuity.
- o
GetMaxDeviationG1(double&)
- Retrieves the maximum deviation for G1 continuity.
- o
GetMaxDeviationG2(double&)
- Retrieves the maximum deviation for G2 continuity.
- o
Run()
- Runs the operator.
- o
SetContinuityLevel(CATFrFContinuity)
- Defines the continuity level.
- o
SetInputs(CATBody*,CATCell*,CATCell*,CATBody*,CATCell*,CATCell*)
- Defines the component inputs.
Methods
o GetMaxDeviationG0
public virtual GetMaxDeviationG0( | | oMaxDeviationG0) |
-
Retrieves the maximum deviation for G0 continuity.
- Parameters:
-
- oMaxDeviationG0
- The result as a double.
o GetMaxDeviationG1
public virtual GetMaxDeviationG1( | | oMaxDeviationG1) |
-
Retrieves the maximum deviation for G1 continuity.
- Parameters:
-
- oMaxDeviationG1
- The result as a double.
o GetMaxDeviationG2
public virtual GetMaxDeviationG2( | | oMaxDeviationG2) |
-
Retrieves the maximum deviation for G2 continuity.
- Parameters:
-
- oMaxDeviationG2
- The result as a double.
o Run
-
Runs the operator.
- Returns:
- An HRESULT. The error can be retrieved by using CATGetLastError.
o SetContinuityLevel
public virtual SetContinuityLevel( | const | iContinuityLevel) |
-
Defines the continuity level.
- Parameters:
-
- iContinuityLevel
- The continuity level : CATFrFContinuity(CATFrFPointCont/CATFrFTangentCont/CATFrFCurvatureCont).
o SetInputs
public virtual SetInputs( | | ipBody1, |
| | ipSideOnBody1, |
| | ipLocationOnBody1, |
| | ipBody2, |
| | ipSideOnBody2, |
| | ipLocationOnBody2) |
-
Defines the component inputs.
- Parameters:
-
- ipBody1
- The pointer to the CATBody that contains ipSideOnBody1.
- ipBody2
- The pointer to the CATBody that contains ipSideOnBody2.
- ipSideOnBody1
- The pointer to the side to be taken into account on ipBody1.
- ipSideOnBody2
- The pointer to the side to be taken into account on ipBody2.
- ipLocationOnBody1
- The pointer to the CATCell on which the continuity is computed. It belongs to ipBody1.
- ipLocationOnBody2
- The pointer to the CATCell on which the continuity is computed. It belongs to ipBody2.
This object is included in the file: CATIStConnectionMeasure.h
If needed, your Imakefile.mk should include the module: CATFreeStyleUseItf
Copyright © 1999-2014, Dassault Systèmes. All rights reserved.