gCAD3D 2.35
ut_bspl.h
Go to the documentation of this file.
1 // ../ut/ut_bspl.h
2 
3 int UT3D_cbsp_2pt (CurvBSpl *bsp, Memspc *memSeg, Point *p1, Point *p2);
4 int UT3D_cbsp_ci (CurvBSpl *bsp, Memspc *memSeg, Circ *ci1, Memspc *tmpSeg);
5 int UT3D_cbsp_ell (CurvBSpl *bsp, Memspc *memSeg, CurvElli *el1, Memspc *tmpSeg);
6 
7  int UT3D_pt_intlnbspl (int *nxp, Point *xptab,
8  Memspc *memSeg1, Line *ln, CurvBSpl *bspl);
9  int UT3D_pt_intplbspl (int *pNr, Point *pa,
10  Plane *pln, CurvBSpl *bspl, Memspc *memSeg1, double tol);
11  int UT3D_pt_int2bspl (int *nxp, Point *xptab,
12  Memspc *memSeg1, CurvBSpl *bspl1, CurvBSpl *bspl2);
13 
14  int UT3D_pt_projptbspl (int *nxp, Point *ptab, double *ttab,
15  CurvBSpl *bspl, Point *pt);
16  int UT3D_pt_projptbsp_ext (double *uo,Point *po,Point *p0,CurvBSpl *bspl);
17  int UT3D_pt_nearptbspl (Point *ptx, double *px, CurvBSpl *cv1, Point *pt);
18  int UT3D_pt_evparCrvBSpl (Point *pt, CurvBSpl *bspl, double u);
19  int UT3D_pt_evalparCv (Point *pto, CurvBSpl *cv1, double uVal);
20 
21  int UT3D_vc_evalparCv (Vector *vco, CurvBSpl *cv1, double uVal);
22 
23 
24  int UT3D_bsp_ck_minSiz (CurvBSpl *cv1);
26  int UT3D_bsp_degrad (ObjGX *ox1, CurvBSpl *cv1, Memspc *memSeg1);
27  int UT3D_bsp_infTg (int *dNr, double *dTab, CurvBSpl *bsp1);
28 
29  double UT3D_par1_parbsp (double *kv, CurvBSpl* cv1);
30  double UT3D_parbsp_par1 (double pv, CurvBSpl* cv1);
31  int UT3D_parCv_bsplpt (double *up,double *dist,
32  CurvBSpl *bspl,Point *pt);
33 
34  int UT3D_ptNr_bsp (int *iu, CurvBSpl *bsp, double tol1);
35 
36  int UT3D_bsp_cpsbsp (CurvBSpl *cvo, SurBSpl *su1, char cDir, int cvNr,
37  Memspc *memSeg1);
38 
39  int bspl_bsp_ptn (CurvBSpl *cvo,Memspc *memSeg1,Point *pTab,int pNr,int deg);
40  int bspl_pol2_bsp2 (Point *pTab1, Point *pTab2, int *ptNr, int ptMax,
41  CurvBSpl *cv1, CurvBSpl *cv2, double tol);
42  int UT3D_knotvec_m (double **knTab, double *v0, double *v1,
43  int ptNr, int deg, Memspc *workSeg);
44  int bspl_knotvec__ (double *knTab, int ptNr, int deg);
45 
46  int bspl_cv_bsp (int *ptNr, Point *pTab, CurvBSpl *cv1);
47 
48  int bspl_pol_bsp (int *ptNr, Point *pTab,
49  CurvBSpl *cv1, int ptMax, double tol);
50 
51  int bspl_cvpol_cvbsp (int *ptNr, Point ptPol[],
52  int ianz, int ideg, double ps, double pe,
53  Point ptCrv[], double *vTab);
54 
55  int bspl_eval_Pt (int ptNr, int ideg, Point ContPt[],
56  double *vk, double uVal, Point *P);
57  int bspl_eval_expPt (Point *pto, CurvBSpl *cv1, double uv, double dist);
58  int bspl_eval_Tg (int segNr, int ideg, Point ContPt[],
59  double *vk, double uVal, Vector *tg);
60 
61 
62  int UT3D_bsp_ck_maxDeg (CurvBSpl *cv1);
63 
64 
66 #define UT3D_bsp_ck_maxDeg(cv1) ((cv1)->ptNr - 1)
67 
68 
69 
70 //===================== EOF =============================
#define UT3D_bsp_ck_maxDeg(cv1)
UT3D_bsp_ck_maxDeg returns max degree of bspline-curve.
Definition: ut_bspl.h:66
int UT3D_cbsp_ci(CurvBSpl *bsp, Memspc *memSeg, Circ *ci1, Memspc *tmpSeg)
Definition: ut_bspl.c:1328
int bspl_pol2_bsp2(Point *pTab1, Point *pTab2, int *ptNr, int ptMax, CurvBSpl *cv1, CurvBSpl *cv2, double tol)
Definition: ut_bspl.c:3108
int UT3D_knotvec_m(double **knTab, double *v0, double *v1, int ptNr, int deg, Memspc *workSeg)
Definition: ut_bspl.c:3026
int UT3D_bsp_cpsbsp(CurvBSpl *cvo, SurBSpl *su1, char cDir, int cvNr, Memspc *memSeg1)
Definition: ut_bspl.c:1819
3D-plane, Typ_PLN
Definition: ut_geo.h:631
int UT3D_pt_projptbspl(int *nxp, Point *ptab, double *ttab, CurvBSpl *bspl, Point *pt)
Definition: ut_bspl.c:2267
int bspl_knotvec__(double *knTab, int ptNr, int deg)
Definition: ut_bspl.c:3057
int UT3D_pt_int2bspl(int *nxp, Point *xptab, Memspc *memSeg1, CurvBSpl *bspl1, CurvBSpl *bspl2)
Definition: ut_bspl.c:2100
int UT3D_pt_projptbsp_ext(double *uo, Point *po, Point *p0, CurvBSpl *bspl)
Definition: ut_bspl.c:4298
ellipse, Typ_CVELL
Definition: ut_geo.h:450
3D-line, Typ_LN
Definition: ut_geo.h:361
3D-circle, Typ_CI
Definition: ut_geo.h:404
int bspl_cvpol_cvbsp(int *ptNr, Point ptPol[], int ianz, int ideg, double ps, double pe, Point ptCrv[], double *vTab)
Definition: ut_bspl.c:3628
Typ_ObjGX.
Definition: ut_geo.h:240
int bspl_eval_Tg(int segNr, int ideg, Point ContPt[], double *vk, double uVal, Vector *tg)
Definition: ut_bspl.c:4152
int UT3D_bsp_degrad(ObjGX *ox1, CurvBSpl *cv1, Memspc *memSeg1)
Definition: ut_bspl.c:1568
int UT3D_pt_intplbspl(int *pNr, Point *pa, Plane *pln, CurvBSpl *bspl, Memspc *memSeg1, double tol)
Definition: ut_bspl.c:2015
int bspl_cv_bsp(int *ptNr, Point *pTab, CurvBSpl *cv1)
Definition: ut_bspl.c:3234
int UT3D_pt_evalparCv(Point *pto, CurvBSpl *cv1, double uVal)
Definition: ut_bspl.c:2690
int bspl_pol_bsp(int *ptNr, Point *pTab, CurvBSpl *cv1, int ptMax, double tol)
Definition: ut_bspl.c:3268
double UT3D_parbsp_par1(double pv, CurvBSpl *cv1)
Definition: ut_bspl.c:2650
int UT3D_bsp_ck_closed_tr(CurvBSpl *cv1)
Definition: ut_bspl.c:1667
int UT3D_pt_evparCrvBSpl(Point *pt, CurvBSpl *bspl, double u)
Definition: ut_bspl.c:2461
Curve: B-spline Typ_CVBSP.
Definition: ut_geo.h:507
int bspl_eval_expPt(Point *pto, CurvBSpl *cv1, double uv, double dist)
Definition: ut_bspl.c:4359
int UT3D_ptNr_bsp(int *iu, CurvBSpl *bsp, double tol1)
Definition: ut_bspl.c:2815
int UT3D_bsp_ck_minSiz(CurvBSpl *cv1)
Definition: ut_bspl.c:1791
int bspl_eval_Pt(int ptNr, int ideg, Point ContPt[], double *vk, double uVal, Point *P)
Definition: ut_bspl.c:3899
3D-point, Typ_PT
Definition: ut_geo.h:195
int UT3D_parCv_bsplpt(double *up, double *dist, CurvBSpl *bspl, Point *pt)
Definition: ut_bspl.c:2733
3D-vector, Typ_VC
Definition: ut_geo.h:209
int dNr
Definition: doxy_help1.c:38
static Point * vTab
Definition: wrl_ut.c:260
int UT3D_pt_nearptbspl(Point *ptx, double *px, CurvBSpl *cv1, Point *pt)
Definition: ut_bspl.c:2196
char ** dTab
Definition: doxy_help1.c:39
int UT3D_pt_intlnbspl(int *nxp, Point *xptab, Memspc *memSeg1, Line *ln, CurvBSpl *bspl)
Definition: ut_bspl.c:1926
int UT3D_cbsp_2pt(CurvBSpl *bsp, Memspc *memSeg, Point *p1, Point *p2)
Definition: ut_bspl.c:1289
int bspl_bsp_ptn(CurvBSpl *cvo, Memspc *memSeg1, Point *pTab, int pNr, int deg)
Definition: ut_bspl.c:2970
int UT3D_vc_evalparCv(Vector *vco, CurvBSpl *cv1, double uVal)
Definition: ut_bspl.c:2707
int UT3D_cbsp_ell(CurvBSpl *bsp, Memspc *memSeg, CurvElli *el1, Memspc *tmpSeg)
Definition: ut_bspl.c:1400
int UT3D_bsp_infTg(int *dNr, double *dTab, CurvBSpl *bsp1)
Definition: ut_bspl.c:1449
double UT3D_par1_parbsp(double *kv, CurvBSpl *cv1)
Definition: ut_bspl.c:2586
Typ_Memspc (a class for variable-length-records in memory)
Definition: ut_umem.h:33
Area: B-Spline-Surf Typ_SURBSP.
Definition: ut_geo.h:702