几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量

几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量 (http://www.dimcax.com/hust/index.php)
-   vc编程 (http://www.dimcax.com/hust/forumdisplay.php?f=76)
-   -   comment example (http://www.dimcax.com/hust/showthread.php?t=1696)

huangyhg 2008-02-12 10:01 PM

comment example
 
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
//=============================================================================


所有的时间均为北京时间。 现在的时间是 08:19 PM.