gCAD3D 2.40
ut_srbsp.c File Reference

Rat.B-Spline-Surface-Functions. More...

#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "../ut/ut_geo.h"
#include "../ut/gr_types.h"
#include "../ut/func_types.h"
#include "../xa/xa.h"
#include "../xa/xa_mem.h"

Functions

int UT3D_obj_cnvt_srbsp (ObjGX *opo, SurRBSpl *spi, Memspc *mpWrk)
 
int UT3D_pt_evparsrbsp (Point *pt, SurRBSpl *sur, double u, double v, Memspc *workSeg)
 
int UT3D_cv_srbspout (int *pNr, Point *pTab, SurRBSpl *sur, Memspc *wrkSeg)
 
int UT3D_cv_srbspU (int pNr, Point *pTab, double uu, SurRBSpl *sbs, Memspc *workSeg)
 
int UT3D_cv_srbspV (int pNr, Point *pTab, double vv, SurRBSpl *sbs, Memspc *workSeg)
 
int UT3D_uparmid_srbsp (double *pm, SurRBSpl *sbs)
 
int UT3D_vparmid_srbsp (double *pm, SurRBSpl *sbs)
 
int UT3D_ptgrid_srbsp (Point *pTab, double *du, double *dv, SurRBSpl *sbs, int iu, int iv, Memspc *workSeg)
 
int UT3D_parsrbsp_pt (double *up, double *vp, Point *pti, Point *pTab, double dui, double dvi, int uNr, int vNr, SurRBSpl *sbs, Memspc *wrkSpc)
 
int UT3D_uvNr_srbsp (int *iu, int *iv, SurRBSpl *sur, Memspc *wrkSeg)
 
int UT3D_srbsp_ck_closed (SurRBSpl *su1)
 
int UT3D_rbsp_srbspU (CurvRBSpl *rbspl, int vNr, SurRBSpl *sur)
 
int UT3D_rbsp_srbspV (CurvRBSpl *rbspl, int uNr, SurRBSpl *sur, Memspc *wrkSeg)
 

Detailed Description

Rat.B-Spline-Surface-Functions.

=====================================================
List_functions_start:
UT3D_pt_evparsrbsp point <-- evaluate surface parameter
UT3D_ptgrid_srbsp Grundraster generieren
UT3D_parsrbsp_pt u/v-Parameter from 3D-Rat.B-SplineSurfPoint
UT3D_uvNr_srbsp U/V-tolerance (see also SUSbsp_ck_tol)
UT3D_srbsp_ck_closed check if srb cyclic in X
UT3D_rbsp_srbspU get U-Basiscurve from rat.B-Spline
UT3D_rbsp_srbspV get V-Basiscurve from rat.B-Spline
UT3D_cv_srbspout outline (polygon) of rat.B-SplSurf
UT3D_cv_srbspU Isocurve (polygon) from U-wert
UT3D_cv_srbspV Isocurve (polygon) from V-wert
UT3D_uparmid_srbsp mittleren U-Wert
UT3D_vparmid_srbsp mittleren V-Wert
UT3D_obj_cnvt_srbsp convert Rat.B-SplSur --> RuledSurf / Torus
------------------------- testfunctions:
UT3D_srbsp_tst_dspicv disply isocurves
UT3D_srbsp_tst_load load Surf.
List_functions_end:
=====================================================
- see also:
SUSbsp_ck_tol optimale Anzahl von Punkten in U/V-Richtung ermitteln

Function Documentation

int UT3D_obj_cnvt_srbsp ( ObjGX opo,
SurRBSpl spi,
Memspc mpWrk 
)
int UT3D_pt_evparsrbsp ( Point pt,
SurRBSpl sur,
double  u,
double  v,
Memspc workSeg 
)
int UT3D_cv_srbspout ( int *  pNr,
Point pTab,
SurRBSpl sur,
Memspc wrkSeg 
)
int UT3D_cv_srbspU ( int  pNr,
Point pTab,
double  uu,
SurRBSpl sbs,
Memspc workSeg 
)
int UT3D_cv_srbspV ( int  pNr,
Point pTab,
double  vv,
SurRBSpl sbs,
Memspc workSeg 
)
int UT3D_uparmid_srbsp ( double *  pm,
SurRBSpl sbs 
)
int UT3D_vparmid_srbsp ( double *  pm,
SurRBSpl sbs 
)
int UT3D_ptgrid_srbsp ( Point pTab,
double *  du,
double *  dv,
SurRBSpl sbs,
int  iu,
int  iv,
Memspc workSeg 
)
int UT3D_parsrbsp_pt ( double *  up,
double *  vp,
Point pti,
Point pTab,
double  dui,
double  dvi,
int  uNr,
int  vNr,
SurRBSpl sbs,
Memspc wrkSpc 
)
int UT3D_uvNr_srbsp ( int *  iu,
int *  iv,
SurRBSpl sur,
Memspc wrkSeg 
)
int UT3D_srbsp_ck_closed ( SurRBSpl su1)
int UT3D_rbsp_srbspU ( CurvRBSpl rbspl,
int  vNr,
SurRBSpl sur 
)
int UT3D_rbsp_srbspV ( CurvRBSpl rbspl,
int  uNr,
SurRBSpl sur,
Memspc wrkSeg 
)