1) catia
/**
* @quickReview CRE 03:10:17
*/
//=============================================================================
//
// COPYRIGHT DASSAULT SYSTEMES 2000
//
// Sample code for : Geometric Modeler
// Mission : Derivation of a new mathematical function: the egg box.
// The CAAAmtForeignFctXY is defined in CAAAmtForeignFctXY.h
// The code is in CAAAmtForeignFctXY.cpp
//
// Type : Batch program
// Inputs : None
// Outputs : cout
// Returns : 0 if all is OK
// : 1 or 2 if the function type is wrong
// : 3 if the evaluation is wrong
// : 4 if the derative evaluation is wrong
// : 5 if the second derivative evaluation is wrong
// : 6 if the derivative evaluation is wrong
// Illustrates : 1- How to create a new type of mathematical function, that
// can be later used in foreign surfaces
// 2- How to use mathematical functions CATMathFunctionXY: the evaluations
//
//
// How to run it : CAAAmtFct
//=============================================================================