#include <InterpKernelGeo2DBounds.hxx>
Public Member Functions | |
| Bounds () | |
| double & | operator[] (int i) |
| const double & | operator[] (int i) const |
| double | getDiagonal () const |
| void | getBarycenter (double &xBary, double &yBary) const |
| void | applySimilarity (double xBary, double yBary, double dimChar) |
| Bounds & | operator= (const Bounds &other) |
| Bounds (double xMin, double xMax, double yMin, double yMax) | |
| void | setValues (double xMin, double xMax, double yMin, double yMax) |
| void | prepareForAggregation () |
| void | getInterceptedArc (const double *center, double radius, double &intrcptArcAngle0, double &intrcptArcDelta) const |
| int | fitXForXFig (double val, int res) const |
| int | fitYForXFig (double val, int res) const |
| double | fitXForXFigD (double val, int res) const |
| double | fitYForXFigD (double val, int res) const |
| Bounds * | nearlyAmIIntersectingWith (const Bounds &other) const |
| Bounds * | amIIntersectingWith (const Bounds &other) const |
| Position | where (double x, double y) const |
| No approximations. | |
| Position | nearlyWhere (double x, double y) const |
| Idem where method but with approximations. | |
| void | aggregate (const Bounds &other) |
| double | getCaracteristicDim () const |
Protected Attributes | |
| double | _x_min |
| double | _x_max |
| double | _y_min |
| double | _y_max |
| INTERP_KERNEL.Bounds.Bounds | ( | ) |
| double Bounds::getDiagonal | ( | ) | const |
See Node.applySimilarity to see signification of params.
References INTERP_KERNEL.Bounds._x_max, INTERP_KERNEL.Bounds._x_min, INTERP_KERNEL.Bounds._y_max, and INTERP_KERNEL.Bounds._y_min.
| void Bounds::prepareForAggregation | ( | ) |
| void Bounds::getInterceptedArc | ( | const double * | center, |
| double | radius, | ||
| double & | intrcptArcAngle0, | ||
| double & | intrcptArcDelta | ||
| ) | const |
Given an arc defined by 'center', 'radius' and 'intrcptArcDelta' in radian, returns (by outputs intrcptArcAngle0 and intrcptArcDelta) the intercepted angle of 'this' from 'center' point of view. If diagonal of 'this' is the same order of 2*radius, intrcptArcAngle0 and intrcptArcDelta remains unchanged.
| center | IN parameter. |
| radius | IN parameter. |
| intrcptArcAngle0 | OUT parameter. |
| intrcptArcDelta | IN/OUT parameter. |
References INTERP_KERNEL.Bounds._x_max, INTERP_KERNEL.Bounds._x_min, INTERP_KERNEL.Bounds._y_max, INTERP_KERNEL.Bounds._y_min, INTERP_KERNEL.EdgeArcCircle.getAbsoluteAngle(), INTERP_KERNEL.Bounds.getDiagonal(), and INTERP_KERNEL.EdgeArcCircle.safeAsin().
No approximations.
References INTERP_KERNEL.Bounds._x_max, INTERP_KERNEL.Bounds._x_min, INTERP_KERNEL.Bounds._y_max, INTERP_KERNEL.Bounds._y_min, INTERP_KERNEL.IN, and INTERP_KERNEL.OUT.
Idem where method but with approximations.
References INTERP_KERNEL.QUADRATIC_PLANAR._precision, INTERP_KERNEL.Bounds._x_max, INTERP_KERNEL.Bounds._x_min, INTERP_KERNEL.Bounds._y_max, INTERP_KERNEL.Bounds._y_min, INTERP_KERNEL.Node.areDoubleEquals(), INTERP_KERNEL.IN, INTERP_KERNEL.ON_BOUNDARY_POS, and INTERP_KERNEL.OUT.
| void Bounds::aggregate | ( | const Bounds & | other | ) |
| double INTERP_KERNEL.Bounds.getCaracteristicDim | ( | ) | const |
double INTERP_KERNEL.Bounds._x_min [protected] |
double INTERP_KERNEL.Bounds._x_max [protected] |
double INTERP_KERNEL.Bounds._y_min [protected] |
double INTERP_KERNEL.Bounds._y_max [protected] |