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.


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
public virtual void GetCurveParam(CATCurve* iCurve,
CATCrvParam& ioParam) const = 0
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
public virtual CATPointOnCurve * GetPointOnCurve(CATCurve* iCurve)const = 0
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
public virtual void SetLimits(CATCrvLimits iCrvLim1,
CATCrvLimits iCrvLim2) = 0
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

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