![]() |
UNIVERS
15.3
UNIVERS base processing software API
|
Class, describing bodies bound. More...
#include <vel2dmod_service.hpp>
Public Member Functions | |
| Bound (double *xx, double *zz, int nn, bool *flag, double rc, double sp, double *xx1=NULL, double *zz1=NULL, int nn1=0) | |
| Bound (double *xx, double *zz, int nn, double rc, double sp) | |
| Bound (double *xx, double *zz, double *dx, double *dz, double *curv, bool *flag, int nn, double *init_x=NULL, double *init_z=NULL, bool *init_flags=NULL, int init_num=0) | |
| Bound (double *xx, double *zz, double *dx, double *dz, double *curv, bool *flag, int nn, int app_type, double *init_x=NULL, double *init_z=NULL, bool *init_flags=NULL, int init_num=0) | |
| Bound (Bound *) | |
| int | getApproxType () |
| bool | BoundInt (double x1, double z1, double x2, double z2, double eps, double &resultX, double &resultZ, bool flag=true, bool finitLine=true, int *nn=NULL) |
| void | GetEndPoints (double &x1, double &z1, double &x2, double &z2) |
| void | Segmentation () |
| int | GetSegNum () |
| int | GetSegNum (int n) |
| int | GetSegNum (double x, double z) |
| int | InitialPNum () |
| void | GetInitialPoints (double *x, double *z, bool *flags) |
| void | GetRC_SP (double &rc, double &sp) |
| void | ReInterpolate (double *x, double *z, bool *flag, int n, double r_c=0, double s_p=0, bool *im_flag=NULL) |
| void | GetZLimits (double &z_min, double &z_max) |
| void | GetFirstPoint (double &x, double &z) |
| void | GetLastPoint (double &x, double &z) |
| ParSpline * | spline () |
Public Attributes | |
| int | num |
| int | bNum1 |
| int | bNum2 |
| bool | filled |
Friends | |
| class | Vel2dModelLDB |
Class, describing bodies bound.
Class "Bound" - is a smooth curve with breaks, which separates two bodies, or one bpdy and outer surface
| Bound::Bound | ( | double * | xx, |
| double * | zz, | ||
| int | nn, | ||
| bool * | flag, | ||
| double | rc, | ||
| double | sp, | ||
| double * | xx1 = NULL, |
||
| double * | zz1 = NULL, |
||
| int | nn1 = 0 |
||
| ) |
immovable points array (default - absent)
| Bound::Bound | ( | double * | xx, |
| double * | zz, | ||
| int | nn, | ||
| double | rc, | ||
| double | sp | ||
| ) |
Construct bound with base spline approximation
| Bound::Bound | ( | double * | xx, |
| double * | zz, | ||
| double * | dx, | ||
| double * | dz, | ||
| double * | curv, | ||
| bool * | flag, | ||
| int | nn, | ||
| double * | init_x = NULL, |
||
| double * | init_z = NULL, |
||
| bool * | init_flags = NULL, |
||
| int | init_num = 0 |
||
| ) |
constructor #2 - input: interpolated points of smooth curve
| Bound::Bound | ( | double * | xx, |
| double * | zz, | ||
| double * | dx, | ||
| double * | dz, | ||
| double * | curv, | ||
| bool * | flag, | ||
| int | nn, | ||
| int | app_type, | ||
| double * | init_x = NULL, |
||
| double * | init_z = NULL, |
||
| bool * | init_flags = NULL, |
||
| int | init_num = 0 |
||
| ) |
constructor #2 - input: interpolated points of smooth curve, approx type should be defined
| bool Bound::BoundInt | ( | double | x1, |
| double | z1, | ||
| double | x2, | ||
| double | z2, | ||
| double | eps, | ||
| double & | resultX, | ||
| double & | resultZ, | ||
| bool | flag = true, |
||
| bool | finitLine = true, |
||
| int * | nn = NULL |
||
| ) |
Procedure of intersection of the bound and segment. First, thesegment intersects with respective Curve, Šnd then it is checked out, does this point belong to the given Bound, or not
|
inline |
Get type of approximation, 0-ParSpline, 1-BaseSpline
| void Bound::GetEndPoints | ( | double & | x1, |
| double & | z1, | ||
| double & | x2, | ||
| double & | z2 | ||
| ) |
Function returns bounds first/last points coordinates
| int Bound::bNum1 |
numbers of bodies, separated by the Bound
| bool Bound::filled |
flag of filled Bound object
| int Bound::num |
bound number (self number)
1.8.5