gCAD3D 2.40
ut_pspl.c File Reference

polynom. splines More...

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

Macros

#define STACKSIZ   30
 

Functions

double psp_dist1 (Point *pts, Point *pt1, Point *pte)
 
int psp_psp3_tra_m3 (ObjGX *cvo, ObjGX *cvi, Mat_4x3 trmat)
 
int pspl_pol_psp (int *ptNr, Point *pTab, ObjGX *cv1, int ptMax, double tol)
 
int psp_ioff_psp (int *is, double *dus, double du, polynom_d3 *polTab, int polNr)
 
int psp_pt_psp (Point *pt1, double du, polynom_d3 *pc)
 

Detailed Description

polynom. splines

=====================================================
List_functions_start:
psp_psp3_tra_m3 transform Polynom.Spline with matrix
pspl_pol_psp Polynom.Spline -> Polygon
psp_dist1 normalSist pt - line
psp_ioff_psp get segmentoffset & segmentNr
psp_pt_psp get pt from dist
List_functions_end:
=====================================================

Macro Definition Documentation

#define STACKSIZ   30

Function Documentation

double psp_dist1 ( Point pts,
Point pt1,
Point pte 
)
int psp_psp3_tra_m3 ( ObjGX cvo,
ObjGX cvi,
Mat_4x3  trmat 
)

psp_psp3_tra_m3 transform Polynom.Spline with matrix cvo must have enough size for complete curve (ox + polynoms)

int pspl_pol_psp ( int *  ptNr,
Point pTab,
ObjGX cv1,
int  ptMax,
double  tol 
)
int psp_ioff_psp ( int *  is,
double *  dus,
double  du,
polynom_d3 polTab,
int  polNr 
)
int psp_pt_psp ( Point pt1,
double  du,
polynom_d3 pc 
)