gCAD3D 2.40
Go to the documentation of this file.
1 /***************************************************************************
2  ubscrv.h - bspline curves
3  -------------------------
4  begin : Sat Apr 28 2007
5  copyright : (C) 2007 by Thomas Backmeister
6  email : t.backmeister@gmx.at
8 ***************************************************************************/
12 // ------------- Geometric Objects ------------------------
13 //
16 // ------------- Constants defined in ubscrv.c ------------
17 //
20 // ------------- inline functions -------------------------
21 //
24 // ------------- Prototypes -------------------------------
25 //
26 int UCBS_BspCrvPts (CurvBSpl*, Memspc*, int, Point*, int, int, Memspc*);
28 int UCBS_CrssParVecBspCrvs (double**, Memspc*, int, CurvBSpl*);
29 int UCBS_CtrlPtsIntpol (Point*, int, Point*, int, double*, double*, Memspc*);
31 int UCBS_DifKntsKntVecBspCrv (int*, double**, Memspc*, int, double*, CurvBSpl*);
32 int UCBS_DirIndIsoBspSur (CurvBSpl*, Memspc*, int, int, double*, int, int,
33  double*, Point*, double, int);
34 int UCBS_EvPtBspCrv (Point*, CurvBSpl*, double, Memspc*);
35 int UCBS_IsoBspCrvBspSur (CurvBSpl*, Memspc*, SurBSpl*, double, int);
36 int UCBS_MkeCmpBspCrvs (CurvBSpl*, Memspc*, int, CurvBSpl**, int, Memspc*);
37 int UCBS_MrgKntVecBspCrvs (int*, double**, Memspc*, int, CurvBSpl*, Memspc*);
38 int UCBS_TrfKntVecBspCrv (CurvBSpl *bspo, Memspc *memSeg, CurvBSpl *bspi,
39  double scf, double trv);
40 int UCBS_NxtPtBspCrv (Point*, double*, CurvBSpl*, Point*, Memspc*);
42  Memspc *memSegT[4], Memspc*);
44 int UCBS_PtUBspCrv (Point*, CurvBSpl*, double, Memspc*);
45 int UCBS_RefKntVecBspCrv (CurvBSpl*, Memspc*, CurvBSpl*, int, double*);
48  double);
53 int UCBS_XPtsBspCrvNet (Point**, double**, double**, Memspc*, int, CurvBSpl*,
54  int, CurvBSpl*, Memspc*);
55 int UCBS_3BspCrvsBspCrv (CurvBSpl *bsplTab[3], Memspc*, CurvBSpl*, Memspc*);
57 // ------------- EOF --------------------------------------
int UCBS_3BspCrvsBspCrv(CurvBSpl *bsplTab[3], Memspc *memSeg1, CurvBSpl *bspl, Memspc *workSeg)
Definition: ubscrv.c:2165
int UCBS_CtrlPtsIntpol(Point *cpTab, int np, Point *pTab, int deg, double *kvTab, double *pvTab, Memspc *workSeg)
Definition: ubscrv.c:1075
int UCBS_PtUBspCrv(Point *pt, CurvBSpl *bspl, double u, Memspc *workSeg)
Definition: ubscrv.c:1894
int UCBS_PrepCoons3BspCrvs(CurvBSpl *bspTU, CurvBSpl *bspTV, Memspc *memSeg, CurvBSpl **bspT)
Definition: ubscrv.c:593
int UCBS_BspCrvPts(CurvBSpl *bsp, Memspc *memSeg, int np, Point *pTab, int deg, int pvType, Memspc *workSeg)
Definition: ubscrv.c:999
int UCBS_RefKntVecBspCrv(CurvBSpl *bspo, Memspc *memSeg, CurvBSpl *bspi, int nk, double *nkTab)
Definition: ubscrv.c:1374
int UCBS_OffSurBspCrv(CurvBSpl *offbspl, Memspc *memSeg1, CurvBSpl *bspl, SurBSpl *sur, double offd, Memspc *memSegT[4], Memspc *workSeg)
Definition: ubscrv.c:1996
int UCBS_CrssParVecBspCrvs(double **pvTab, Memspc *memSeg, int ncv, CurvBSpl *bspTab)
Definition: ubscrv.c:516
int UCBS_EvPtBspCrv(Point *pt, CurvBSpl *bspl, double u, Memspc *workSeg)
Definition: ubscrv.c:414
int UCBS_CpyBspCrv(CurvBSpl *bspo, Memspc *memSeg, CurvBSpl *bspi)
Definition: ubscrv.c:1166
Rational B-Spline-curve; Typ_CVRBSP.
Definition: ut_geo.h:531
int UCBS_TypCon2BspCrvs(CurvBSpl *bsp1, CurvBSpl *bsp2, Memspc *workSeg)
Definition: ubscrv.c:703
int UCBS_TestSegsBspCrv(CurvBSpl *, Memspc *)
int UCBS_TestSegsRBspCrv(CurvRBSpl *, Memspc *)
Curve: B-spline Typ_CVBSP.
Definition: ut_geo.h:513
int UCBS_DifKntsKntVecBspCrv(int *nk, double **nkTab, Memspc *memSeg, int mk, double *mkTab, CurvBSpl *bsp)
Definition: ubscrv.c:1215
3D-point, Typ_PT
Definition: tessbug1.c:66
int UCBS_TrfKntVecBspCrv(CurvBSpl *bspo, Memspc *memSeg, CurvBSpl *bspi, double scf, double trv)
Definition: ubscrv.c:2451
int UCBS_TestBezBspCrv(CurvBSpl *, Memspc *)
int UCBS_XPtsBspCrvNet(Point **xpTab, double **pvTU, double **pvTV, Memspc *memSeg, int cvNrU, CurvBSpl *bspTU, int cvNrV, CurvBSpl *bspTV, Memspc *workSeg)
Definition: ubscrv.c:850
int UCBS_SubDivBspCrv(CurvBSpl *bspl1, Memspc *memSeg1, CurvBSpl *bspl2, Memspc *memSeg2, CurvBSpl *bspl, double t)
Definition: ubscrv.c:2077
int UCBS_IsoBspCrvBspSur(CurvBSpl *crv, Memspc *memSeg, SurBSpl *sur, double t, int uv)
Definition: ubscrv.c:1842
int UCBS_MrgKntVecBspCrvs(int *mk, double **mkTab, Memspc *memSeg, int nbs, CurvBSpl *bspTab, Memspc *workSeg)
Definition: ubscrv.c:1281
int UCBS_MkeCmpBspCrvs(CurvBSpl *bspTab, Memspc *memSeg, int cvNr, CurvBSpl **cvTab, int deg, Memspc *workSeg)
Definition: ubscrv.c:2353
int UCBS_RevBspCrv(CurvBSpl *bspr, Memspc *memSeg, CurvBSpl *bsp)
Definition: ubscrv.c:766
int UCBS_NxtPtBspCrv(Point *Pn, double *tn, CurvBSpl *cv, Point *P, Memspc *workSeg)
Definition: ubscrv.c:120
Typ_Memspc (a class for variable-length-records in memory)
Definition: ut_umem.h:32
int UCBS_DegElevBspCrv(CurvBSpl *bspo, Memspc *memSeg, CurvBSpl *bspi, int dup)
Definition: ubscrv.c:1521
int UCBS_DirIndIsoBspSur(CurvBSpl *crv, Memspc *memSeg, int degC, int ptNrC, double *kvTabC, int deg2, int ptNr2, double *kvTab2, Point *cpTab, double t, int uv)
Definition: ubscrv.c:1747
Area: B-Spline-Surf Typ_SURBSP.
Definition: ut_geo.h:708