3 #ifndef __p_raytr_elements_H
4 #define __p_raytr_elements_H
22 #include <mix/ObjectsAr.H>
24 #include <mod3d/any_elements.H>
25 #include <mod3d/p_elements.H>
28 #include "p_raytr_hits.H"
30 #define PM_TRANSMISSION 0
31 #define PM_REFLECTION 1
34 class pl_intern_raytr_border;
45 point rp()
const{
return pRP;};
46 int n1(){
return iN1;};
47 int n2(){
return iN2;};
48 Logic same_numbers(
int n1,
int n2)
const{
49 if((n1==iN1)&&(n2==iN2))
return TRUE;
53 #define AnyType receiver_info
54 #define AnyAr receivers
55 #include <mix/AnyAr.H>
65 double dDx1,
double dDy1,
double dDz1,
66 double dDx2,
double dDy2,
double dDz2,
69 const double *dkdfi,
const double *dkdt,
const double *ksi,
70 const double *vp,
double *daDpdteta0,
double *daDpdfi0,
int ib,
72 void add_rc_coefs(
double a[2],
double b[2]);
73 void add_rc_vectors(
double[3],
double[3]);
74 void add_raypol(
double da[3]);
76 double dDxDf,dDyDf,dDzDf;
77 double dDxDaz,dDyDaz,dDzDaz;
93 double dCRef[2],dCTrans[2];
95 double vref[3],vtrans[3];
121 double x,
double y,
double z,
int ik);
125 int border()
const{
return iBorder;};
126 void add_rc_coefs(
double c1[2],
double c2[2]){cr.add_rc_coefs(c1,c2);};
127 void add_rc_vectors(
double v1[3],
double v2[3]){cr.add_rc_vectors(v1,v2);};
128 void add_raypol(
double da[3]){cr.add_raypol(da);};
129 int reflected()
const {
return iKind;};
131 void set_refl_type(
int ik);
132 void set_refrat(
double rr);
133 int kind() {
return iKind;};
134 int get_wave_type() {
return cr.wave_type;};
140 #define AnyType crossing
141 #define AnyAr crossings_ptrs
142 #include <mix/AnyAr.H>
151 #define AnyType meta_iis_element
152 #define AnyAr meta_iis
153 #include <mix/AnyAr.H>
160 void general_get_ray_parameters (
const point3d &pWhere,
162 double &dFi,
double &dAz,
163 double &dDFi,
double& dDAz,
double &dRo,
164 double dfl=0.8,
double dal=0.8);
168 void get_ray_angles (
double& dFi,
double& dAz,
const point&pStart,
Definition: p_raytr_elements.H:113
Definition: any_elements.H:22
Definition: p_raytr_elements.H:58
Definition: p_raytr_elements.H:38
Definition: geometry.H:16