multibs.h

Go to the documentation of this file.
00001 
00002 /* ///////////////////////////////////////////////////////////////////////// */
00003 /* This file is a part of the BSTools package                                */
00004 /* written by Przemyslaw Kiciak                                              */
00005 /* ///////////////////////////////////////////////////////////////////////// */
00006 /* (C) Copyright by Przemyslaw Kiciak, 2005, 2009                            */
00007 /* this package is distributed under the terms of the                        */
00008 /* Lesser GNU Public License, see the file COPYING.LIB                       */
00009 /* ///////////////////////////////////////////////////////////////////////// */
00010 
00011 /* Header file for the libmultibs library of C procedures -              */
00012 /* processing B-spline and Bezier curves and surfaces                    */ 
00013 
00014 #ifndef MULTIBS_H
00015 #define MULTIBS_H
00016 
00017 #ifndef PKNUM_H
00018 #include "pknum.h"
00019 #endif
00020 
00021 #ifndef PKGEOM_H
00022 #include "pkgeom.h"
00023 #endif
00024 
00025 #ifdef __cplusplus   
00026 extern "C" {
00027 #endif
00028 
00029 
00030 /* boundary conditions identifiers for cubic splines of interpolation */
00031 
00032 #define BS3_BC_FIRST_DER   0
00033 #define BS3_BC_FIRST_DER0  1
00034 #define BS3_BC_SECOND_DER  2
00035 #define BS3_BC_SECOND_DER0 3
00036 #define BS3_BC_THIRD_DER   4
00037 #define BS3_BC_THIRD_DER0  5
00038 #define BS3_BC_BESSEL      6
00039 #define BS3_BC_NOT_A_KNOT  7
00040 
00041 void mbs_BezP3NormalDeg ( int degreeu, int degreev, int *ndegu, int *ndegv );
00042 void mbs_BezP3RNormalDeg ( int degreeu, int degreev, int *ndegu, int *ndegv );
00043 
00044 #include "multibsf.h"
00045 #include "multibsd.h"
00046 
00047 #ifdef __cplusplus
00048 }
00049 #endif
00050 
00051 #endif /*MULTIBS_H*/
00052