GMModelInterfaces Interface CATICGMConvertCurveToCanonic

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


interface CATICGMConvertCurveToCanonic

Operator to compute the canonical representation of a line or a circle.


Method Index


o GetPResult(CATLONG32&,CATCrvLimits&)
Returns the pointer to the created canonical curve, as a CATPCurve.
o GetResult(CATCrvLimits&)
Returns the pointer to the created canonical curve.
o Run()
Runs this operator.
o SetRecognitionMode(CATBoolean)
Defines the recognition mode.
o SetTolerance(double)
Defines the tolerance to fit the input curve, in case of approximated recognition mode.

Methods


o GetPResult
public virtual GetPResult( ioOrientation,
ioLimits)
Returns the pointer to the created canonical curve, as a CATPCurve. To use when the input curve is a CATEdgeCurve. In this case, a CATSurface must be set at the operator creation.
Parameters:
ioOrientation
The orientation of the created curve, with regards to the input CATEdgeCurve.
ioLimits
The limits of the created curve.
Returns:
The pointer to the created canonical CATPCurve, or NULL if no result was found. If you do not want to keep it, you must remove it with the method.
o GetResult
public virtual GetResult( ioLimits)
Returns the pointer to the created canonical curve.
Parameters:
ioLimits
The limits of the created curve.
Returns:
The pointer to the created canonical curve, or NULL if no result was found. If you do not want to keep it, you must remove it with the method.
o Run
public virtual Run()
Runs this operator.
o SetRecognitionMode
public virtual SetRecognitionMode( iMode= TRUE)
Defines the recognition mode.
Parameters:
iMode
The recognition mode.
Legal values:
TRUE
Exact recognition: the input curve must exactly fit a canonical curve.
FALSE
Approximated recognition.
o SetTolerance
public virtual SetTolerance( iTolerance)
Defines the tolerance to fit the input curve, in case of approximated recognition mode.
Parameters:
iTolerance
The tolerance used in case of an approximated recognition.

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

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