1 #ifndef MIDAS_GEOMETRYLIB_H
2 #define MIDAS_GEOMETRYLIB_H
23 const PoinT *A,
const PoinT *B,
const PoinT *C,
const PoinT *D,
24 const PoinT *U,
const PoinT *V,
25 double *ksi,
double *eta,
double *t,
29 const PoinT *A,
const PoinT *B,
const PoinT *C,
30 const PoinT *U,
const PoinT *V,
31 double *ksi,
double *eta,
double *t,
32 PoinT *I1, PoinT *I2);
34 long nc_brick_3d (
double zero,
double x[],
double y[],
double z[],
const PoinT *point, PoinT *answer);
37 int intersect_RayTriangle (
double zero,
const PoinT *P0,
const PoinT *P1,
const PoinT *V0,
const PoinT *V1,
const PoinT *V2, PoinT* I);
40 void jac_3d (
double &jac, Dvctr &x,Dvctr &y,Dvctr &z,
41 double xi,
double eta,
double zeta);
46 #endif // MIDAS_GEOMETRYLIB_H
long intersec_triangle_line(double zero, double norm, const PoinT *A, const PoinT *B, const PoinT *C, const PoinT *U, const PoinT *V, double *ksi, double *eta, double *t, PoinT *I1, PoinT *I2)
int intersect_RayTriangle(double zero, const PoinT *P0, const PoinT *P1, const PoinT *V0, const PoinT *V1, const PoinT *V2, PoinT *I)
long nc_brick_3d(double zero, double x[], double y[], double z[], const PoinT *point, PoinT *answer)
Function computes natural coordinates of 'point' on 'element', 'point' is entered in cartesian coordi...
int give_edge_points_commperpend_skewlines(const double *l1a, const double *l1b, const double *l2a, const double *l2b, double *p1, double *p2)
*** *** *** *** GEOMETRY FUNCTIONS *** *** *** ***
Structs Elem3D, PoinT and VectoR; classes Array, Array1d, Xscal, Dscal, Xvctr, Lvctr, Dvctr, Xmtrx, Lmtrx and Dmtrx.
long intersec_rectangle3d_line(double zero, double norm, const PoinT *A, const PoinT *B, const PoinT *C, const PoinT *D, const PoinT *U, const PoinT *V, double *ksi, double *eta, double *t, PoinT *I1, PoinT *I2)
ZDROJE http://softsurfer.com/algorithm_archive.htm.
double area3D_Polygon(int n, const PoinT **V, const VectoR *N)
************************** WWW.SOFTSURFER.COM ALGORITHMS ************************** Copyright 2000...
void jac_3d(double &jac, Dvctr &x, Dvctr &y, Dvctr &z, double xi, double eta, double zeta)