All Frameworks Class Hierarchy This Framework Previous Next Indexes
GeometricOperators Class CATEdgeCurveComputation
Mathematics.CATCGMVirtual
|
+---GeometricObjects.CATCGMOperator
|
+---CATEdgeCurveComputation
Usage: you must use this class as is. You should never derive it.
public class CATEdgeCurveComputation
Class defining the operator to create the edge curve representing two curves.
This operator first checks that the two curves can be merged. You must use it as soon as the mapping
between the parameterizations of the two initial curves is not linear.
- The CATEdgeCurveComputation operator is created with the CreateEdgeCurveComputation method and
directly deleted with the usual C++ delete operator.
It is is not streamable.
- In case of BASIC
mode, the operation is automatically performed at the operator creation.
In case of ADVANCED
mode, options can be precised with the SetXxx methods, before
asking for the computation with the Run method.
- In both cases, the result is accessed with the GetEdgeCurve method.
Constructor and Destructor Index
- o
~CATEdgeCurveComputation()
- Destructor.
Method Index
- o
GetEdgeCurve()
- Returns the created edge curve.
- o
SetLimits(CATCrvLimits&,CATCrvLimits&)
- Defines the domains of the curves to take into account (ADVANCED mode).
- o
SetMaxGap(double)
- Defines the maximum gap between the initial curves above which the edge curve cannot be created
(ADVANCED mode).
- o
SetParams(CATCrvParam&,CATCrvParam&,CATCrvParam&,CATCrvParam&)
- Defines the domains of the curves to take into account (ADVANCED mode).
Constructor and Destructor
o ~CATEdgeCurveComputation
public virtual ~CATEdgeCurveComputation( | ) |
-
Destructor.
Methods
o GetEdgeCurve
-
Returns the created edge curve.
- Returns:
- The pointer to the created edge curve, NULL if the initial curves cannot be merged.
o SetLimits
-
Defines the domains of the curves to take into account (ADVANCED mode).
The relative sense (start-end of each curve) is not specified.
- Parameters:
-
- iLimits1
- The limitations of the first curve.
- iLimits2
- The limitations of the second curve.
o SetMaxGap
public virtual void SetMaxGap( | const double | iMaxGap) = 0 |
-
Defines the maximum gap between the initial curves above which the edge curve cannot be created
(ADVANCED mode).
- Parameters:
-
- iMaxGap
- The maximum gap value. By default, a large gap is allowed.
o SetParams
-
Defines the domains of the curves to take into account (ADVANCED mode).
This method allows you to specify working params for mergeability computation.
The relative sense (start-end of each curve) is specified.
It has no effect on the relative orientation of input curves within the edge curve.
- Parameters:
-
- iStartParam1
- The parameter of the first limitation of the first curve.
- iEndParam1
- The parameter of the end limitation of the first curve.
- iStartParam2
- The parameter of the first limitation of the second curve.
- iEndParam2
- The parameter of the end limitation of the second curve.
This object is included in the file: CATEdgeCurveComputation.h