gCAD3D 2.35
gru.c File Reference

auxil. graphic-functions not using OpenGL More...

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

Functions

int GRU_tex_pos2 (TexRef *rtex, Point *p1a, Point *p2a, int ptNr, int sTyp)
 
int GRU_tex_pos1 (TexRef *rtex, ObjGX *os)
 
int GRU_tex_pos9 (TexRef *rtex)
 
int GRU_tex_rec (TexRef *rtex, Vector *vz, Point **ppa, int pNr)
 
int GRU_tex_pos3 (TexRef *rtex, Point *pa, int pNr)
 
int GRU_angr3_vxvz (double *az1, double *ay, double *az2, Vector *vx, Vector *vz)
 
int GRU_teileArc (Point2 *pta, int *ptAnz, ObjG2 *o1)
 
int GRU_teileArc1 (Point2 *pta, int ptAnz, ObjG2 *o1)
 
int GRU_teileLin (Point2 *pta, int ptAnz, Point2 *p1, Point2 *p2)
 
int GRU_calc_normal (Vector *vc, Point *p1, Point *p2, Point *p3)
 
void GRU_calc_normal2 (Vector *vc, Point2 *p1, Point2 *p2, Point2 *p3, double z1, double z2)
 

Detailed Description

auxil. graphic-functions not using OpenGL

=====================================================
List_functions_start:
GRU_angr3_vxvz wie UT3D_3angr_2vc, jedoch degrees out
GRU_teileArc 2D-Arc > 2D-Polygon
GRU_tex_pos3 for Z-meshes only
List_functions_end:
=====================================================

Function Documentation

int GRU_tex_pos2 ( TexRef rtex,
Point p1a,
Point p2a,
int  ptNr,
int  sTyp 
)
int GRU_tex_pos1 ( TexRef rtex,
ObjGX os 
)
int GRU_tex_pos9 ( TexRef rtex)
int GRU_tex_rec ( TexRef rtex,
Vector vz,
Point **  ppa,
int  pNr 
)
int GRU_tex_pos3 ( TexRef rtex,
Point pa,
int  pNr 
)
int GRU_angr3_vxvz ( double *  az1,
double *  ay,
double *  az2,
Vector vx,
Vector vz 
)
int GRU_teileArc ( Point2 pta,
int *  ptAnz,
ObjG2 o1 
)
int GRU_teileArc1 ( Point2 pta,
int  ptAnz,
ObjG2 o1 
)
int GRU_teileLin ( Point2 pta,
int  ptAnz,
Point2 p1,
Point2 p2 
)
int GRU_calc_normal ( Vector vc,
Point p1,
Point p2,
Point p3 
)
void GRU_calc_normal2 ( Vector vc,
Point2 p1,
Point2 p2,
Point2 p3,
double  z1,
double  z2 
)