gCAD3D 2.40
test_SUR.c File Reference
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "../ut/ut_geo.h"
#include "../ut/ut_memTab.h"
#include "../ut/ut_itmsh.h"
#include "../ut/ut_ox_base.h"
#include "../db/ut_DB.h"
#include "../xa/xa_mem.h"

Functions

int gCad_fini ()
 
int gCad_main ()
 
int test_SUR__ ()
 
int test_SUR_pln ()
 
int test_SUR_sur__ (long dbiSur, long dbiInt)
 
int test_SUR_int (long dbiInt)
 
int test_SUR_bsp ()
 
int test_SUR_bnd__ (long dbiSur)
 
int UT3D_bp_inpt (int pNr, int *ipa, Point *pa)
 
int UT3D_box_inpt (Point *pmin, Point *pmax, int nump, int *ipa, Point *ptab)
 

Variables

int WC_modact_ind
 

Function Documentation

int gCad_fini ( )
int gCad_main ( )
int test_SUR__ ( )
int test_SUR_pln ( )
int test_SUR_sur__ ( long  dbiSur,
long  dbiInt 
)
int test_SUR_int ( long  dbiInt)
int test_SUR_bsp ( )
int test_SUR_bnd__ ( long  dbiSur)
int UT3D_bp_inpt ( int  pNr,
int *  ipa,
Point pa 
)
* backplane from n points
*
int UT3D_box_inpt ( Point pmin,
Point pmax,
int  nump,
int *  ipa,
Point ptab 
)
* UT3D_box_pts bounding box <-- points
*
* Computation of a minimal axis-parallel box which contains all given points.
* The box is given by the endpoints of its diagonal.
* If all points ly in a plane parallel x,y-plane, the box will be a rectangle.
*
* IN:
* int nump ... number of points
* Point *ptab ... points
* OUT:
* Point *pmin ... endpoint 1 of box diagonal
* Point *pmax ... endpoint 2 of box diagonal
* Returncodes:
* 0 = OK
* -1 = input error
*

Variable Documentation

int WC_modact_ind