All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

FreeFormOperators Class CATCrvDegreeModification

Mathematics.CATCGMVirtual
  |
  +---CATCrvDegreeModification
 

Usage: you must use this class as is. You should never derive it.


public class CATCrvDegreeModification

Class defining an operator that modifies the degree of a curve.
The CATCrvDegreeModification operator follows the global frame of the geometric operators:


Constructor and Destructor Index


o ~CATCrvDegreeModification()
Destructor.

Method Index


o GetMaxDeviation()
Returns the maximum deviation between the initial and the new curve.
o Run()
Runs this operator.
o SetDegree(CATLONG32&)
Specifies the new degree.

Constructor and Destructor


o ~CATCrvDegreeModification
public virtual ~CATCrvDegreeModification()
Destructor.

Methods


o GetMaxDeviation
public virtual double GetMaxDeviation()=0
Returns the maximum deviation between the initial and the new curve. This method should be used when decreasing the degree.
Returns:
The maximum deviation value.
o Run
public virtual void Run()=0
Runs this operator.
o SetDegree
public virtual void SetDegree( const CATLONG32& iNewDegree)=0
Specifies the new degree.
Parameters:
iNewDegree
The new degree.

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

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