UNIVERS
15.3
UNIVERS base processing software API
|
Ray data storage sturcture. More...
#include <rt_storage.hpp>
Public Member Functions | |
RayInfo (double shotX, double shotZ, double startAngle) | |
void | AddPoint (double x, double z) |
void | AddRayAngle (double f) |
void | GetStartParams (double &x, double &z, double &f) |
void | GetRayCode (CodeAr &rCode) |
int | GetPointsNum () |
void | GetPoints (double *x, double *z) |
void | GetLastPoint (double &x, double &z) |
void | GetRayAngles (double *f) |
double | GetLastAngle () |
int | GetRayCodeNum () |
void | SetRayCode (CodeAr rCode) |
void | AddRayInt (double x, double z, double f1, double f2, double time, int bn1, int bn2, int boundN, double coeff, double iAngle, double iCurv) |
void | AddRayWInt (double x, double z, double f, double t) |
int | GetRayIntNum () |
void | GetRayInt (double *x, double *z, int *bn1, int *bn2, int *boundN, double *coeff, int &n, double *t=NULL, double *f1=NULL, double *f2=NULL, double *iAngle=NULL, double *iCurv=NULL) |
bool | GetRayNInt (int N, double &x, double &z, int &bn1, int &bn2, int &boundN, double &coeff, double &t, double &f1, double &f2, double &iAngle, double &iCurv) |
void | GetRayIntN (int n, double &x, double &z) |
bool | GetBoundIntInfo (int boundNum, double &x, double &z, int &bn1, int &bn2, double &coeff, double &t, double &f1, double &f2, double &iAngle, double &iCurv) |
void | GetRayIntN (int n, int &bn) |
void | GetRayInt1 (double &x, double &z, int &bn1, int &bn2, int &boundN, double &coeff, double &t, double &f1, double &f2, double &iA, double &iCurv) |
void | GetRayIBNums (int_ar *iBNums) |
int | GetRayWIntNum () |
void | GetRayWInt (double *x, double *z, double *f, double *t, int &n) |
void | GetRayWInt1 (double &x, double &z, double &f, double &t) |
double | GetSD () |
void | SetSD (double SD) |
void | SetResParams (double resAmpl, double resAngle, double resTime, double resX, double resZ) |
void | GetResParams (double &resAmpl, double &resAngle, double &resTime, double &resX, double &resZ) |
void | CalcRayPz (double f, double az, double &pf, double &paz, WAVE_TYPE vPS) |
void | SetOOMFlag () |
bool | GetOOMFlag () |
Ray data storage sturcture.
Structure, containing information about the ray
RayInfo::RayInfo | ( | double | shotX, |
double | shotZ, | ||
double | startAngle | ||
) |
constructor (input: initial point and angle)
void RayInfo::AddPoint | ( | double | x, |
double | z | ||
) |
ray point addition
void RayInfo::AddRayAngle | ( | double | f | ) |
ray arc tangent angle addition
void RayInfo::AddRayInt | ( | double | x, |
double | z, | ||
double | f1, | ||
double | f2, | ||
double | time, | ||
int | bn1, | ||
int | bn2, | ||
int | boundN, | ||
double | coeff, | ||
double | iAngle, | ||
double | iCurv | ||
) |
bound intersection information addition
void RayInfo::AddRayWInt | ( | double | x, |
double | z, | ||
double | f, | ||
double | t | ||
) |
well intersection information addition
bool RayInfo::GetBoundIntInfo | ( | int | boundNum, |
double & | x, | ||
double & | z, | ||
int & | bn1, | ||
int & | bn2, | ||
double & | coeff, | ||
double & | t, | ||
double & | f1, | ||
double & | f2, | ||
double & | iAngle, | ||
double & | iCurv | ||
) |
returns information about bound #boundNum intersection
void RayInfo::GetLastPoint | ( | double & | x, |
double & | z | ||
) |
returns ray last point
bool RayInfo::GetOOMFlag | ( | ) |
returns "out of model flag"
void RayInfo::GetPoints | ( | double * | x, |
double * | z | ||
) |
returns ray points arrays (arrays must be initialized beforehand)
int RayInfo::GetPointsNum | ( | ) |
returns ray points number
void RayInfo::GetRayCode | ( | CodeAr & | rCode | ) |
returns ray code
int RayInfo::GetRayCodeNum | ( | ) |
returns ray code length
void RayInfo::GetRayIBNums | ( | int_ar * | iBNums | ) |
returns list of numbers of intersected bounds
void RayInfo::GetRayInt | ( | double * | x, |
double * | z, | ||
int * | bn1, | ||
int * | bn2, | ||
int * | boundN, | ||
double * | coeff, | ||
int & | n, | ||
double * | t = NULL , |
||
double * | f1 = NULL , |
||
double * | f2 = NULL , |
||
double * | iAngle = NULL , |
||
double * | iCurv = NULL |
||
) |
returns information about model bounds intersections
void RayInfo::GetRayInt1 | ( | double & | x, |
double & | z, | ||
int & | bn1, | ||
int & | bn2, | ||
int & | boundN, | ||
double & | coeff, | ||
double & | t, | ||
double & | f1, | ||
double & | f2, | ||
double & | iA, | ||
double & | iCurv | ||
) |
returns information about the last bound intersection
void RayInfo::GetRayIntN | ( | int | n, |
int & | bn | ||
) |
returns number of the #n intersected bound
int RayInfo::GetRayIntNum | ( | ) |
returns number of bounds intersections
bool RayInfo::GetRayNInt | ( | int | N, |
double & | x, | ||
double & | z, | ||
int & | bn1, | ||
int & | bn2, | ||
int & | boundN, | ||
double & | coeff, | ||
double & | t, | ||
double & | f1, | ||
double & | f2, | ||
double & | iAngle, | ||
double & | iCurv | ||
) |
returns information about intersection #N
void RayInfo::GetRayWInt | ( | double * | x, |
double * | z, | ||
double * | f, | ||
double * | t, | ||
int & | n | ||
) |
returns information about well intersections
void RayInfo::GetRayWInt1 | ( | double & | x, |
double & | z, | ||
double & | f, | ||
double & | t | ||
) |
returns information about the last well intersection
int RayInfo::GetRayWIntNum | ( | ) |
returns number of well intersections
double RayInfo::GetSD | ( | ) |
returns geometrical deviation
void RayInfo::GetStartParams | ( | double & | x, |
double & | z, | ||
double & | f | ||
) |
returns initial paramaters
void RayInfo::SetOOMFlag | ( | ) |
setup "out of model flag" as TRUE
void RayInfo::SetRayCode | ( | CodeAr | rCode | ) |
setup ray code
void RayInfo::SetSD | ( | double | SD | ) |
calculated geometrical deviation saving