All Frameworks Class Hierarchy This Framework Previous Next Indexes
GeometricOperators Class CATDistanceMinCrvCrv
Mathematics.CATCGMVirtual
|
+---GeometricObjects.CATCGMOperator
|
+---GeometricOperators.CATGeoOperator
|
+---CATDistanceMinCrvCrv
Usage: you must use this class as is. You should never derive it.
public class CATDistanceMinCrvCrv
Class defining the operator of the minimum distance between
two curves.
- The CATDistanceMinCrvCrv operator is created with the CreateDistanceMin 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, the user can precise options with the SetXxx methods, before
asking for the computation with the Run method.
- In both cases, the result is accessed with specific methods.
Constructor and Destructor Index
- o
~CATDistanceMinCrvCrv()
- Destructor.
Method Index
- o
GetCurveParam(CATCurve*,CATCrvParam&)
- Returns a parameter on a given curve realizing the minimum distance
between the two input CATCurves.
- o
GetDistance()
- Returns the minimum distance between two CATCurves.
- o
GetPointOnCurve(CATCurve*)
- Creates a CATPointOnCurve realizing the minimum distance
between two CATCurves.
- o
SetLimits(CATCrvLimits,CATCrvLimits)
- Defines the curve domain to take into account for this operator in case of
ADVANCED mode.
Constructor and Destructor
o ~CATDistanceMinCrvCrv
public virtual ~CATDistanceMinCrvCrv( | ) |
-
Destructor.
Methods
o GetCurveParam
-
Returns a parameter on a given curve realizing the minimum distance
between the two input CATCurves.
Note that only one point is proposed, even multiple solutions exist.
- Parameters:
-
- iCurve
- The pointer to the curve on which the parameter is retrieved.
- ioParam
- The parameter value of the point realizing the minimum distance on iCurve.
o GetDistance
public virtual double GetDistance( | )const = 0 |
-
Returns the minimum distance between two CATCurves.
- Returns:
- The minimum distance.
o GetPointOnCurve
-
Creates a CATPointOnCurve realizing the minimum distance
between two CATCurves.
Note that only one point is proposed, even multiple solutions exist.
- Parameters:
-
- iCurve
- The pointer to the curve on which the point is created.
- Returns:
- The pointer to the created point. A new point is created each time this method is called.
If you do not want to keep the created point, use the
CATICGMContainer.Remove method.
o SetLimits
-
Defines the curve domain to take into account for this operator in case of
ADVANCED mode.
- Parameters:
-
- iCrvLim1
- The limitations on the first curve.
- iCrvLim2
- The limitations on the second curve.
This object is included in the file: CATDistanceMinCrvCrv.h
If needed, your Imakefile.mk should include the module: CATGeometricOperators