GMModelInterfaces Interface CATICGMEdgeCurveComputation

Usage: an implementation of this interface is supplied and you must use it as is. You should not reimplement it.


interface CATICGMEdgeCurveComputation

Class defining the operator to create an edge curve.
This operator is to be preferred to the methods offered by CATGeoFactory as it manages non linear parameterization of curves.


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 be used for the edge curve computation (ADVANCED mode).

Methods


o GetEdgeCurve
public virtual GetEdgeCurve()
Returns the created edge curve.
Returns:
The pointer to the created edge curve, NULL if the initial curves cannot be merged.
o SetLimits
public virtual SetLimits( const iLimits1,
const iLimits2)
Defines the domains of the curves to take into account (ADVANCED mode).
The relative orientation (start-end of each curve) is not specified.
Parameters:
iLimits1
The limits of the first curve.
iLimits2
The limits of the second curve.
o SetMaxGap
public virtual SetMaxGap( const iMaxGap)
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 gap around 1mm is allowed.
o SetParams
public virtual SetParams( const iStartParam1,
const iEndParam1,
const iStartParam2,
const iEndParam2)
Defines the domains of the curves to be used for the edge curve computation (ADVANCED mode).
The start and end CATCrvParam for each curve specify a relative direction which do not affect the relative orientation of the input curves within the edge curve.
Parameters:
iStartParam1
The parameter of the start limit of the first curve.
iEndParam1
The parameter of the end limit of the first curve.
iStartParam2
The parameter of the start limit of the second curve.
iEndParam2
The parameter of the end limit of the second curve.

This object is included in the file: CATICGMEdgeCurveComputation.h
If needed, your Imakefile.mk should include the module: CATGMModelInterfaces

Copyright © 1999-2015, Dassault Systèmes. All rights reserved.