Version: 5.1.6

INTERP_KERNEL.Bounds Class Reference

#include <InterpKernelGeo2DBounds.hxx>

Public Member Functions

 Bounds ()
doubleoperator[] (int i)
const doubleoperator[] (int i) const
double getDiagonal () const
void getBarycenter (double &xBary, double &yBary) const
void applySimilarity (double xBary, double yBary, double dimChar)
Boundsoperator= (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
BoundsnearlyAmIIntersectingWith (const Bounds &other) const
BoundsamIIntersectingWith (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

Constructor & Destructor Documentation

INTERP_KERNEL.Bounds.Bounds (  ) 
INTERP_KERNEL.Bounds.Bounds ( double  xMin,
double  xMax,
double  yMin,
double  yMax 
)

Member Function Documentation

double & Bounds::operator[] ( int  i  ) 
const double & Bounds::operator[] ( int  i  )  const
double Bounds::getDiagonal (  )  const
void Bounds::getBarycenter ( double xBary,
double yBary 
) const
void Bounds::applySimilarity ( double  xBary,
double  yBary,
double  dimChar 
)
Bounds& INTERP_KERNEL.Bounds.operator= ( const Bounds other  ) 
void INTERP_KERNEL.Bounds.setValues ( double  xMin,
double  xMax,
double  yMin,
double  yMax 
)
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.

Parameters:
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().

int INTERP_KERNEL.Bounds.fitXForXFig ( double  val,
int  res 
) const
int INTERP_KERNEL.Bounds.fitYForXFig ( double  val,
int  res 
) const
double Bounds::fitXForXFigD ( double  val,
int  res 
) const
double Bounds::fitYForXFigD ( double  val,
int  res 
) const
Bounds * Bounds::nearlyAmIIntersectingWith ( const Bounds other  )  const
Bounds * Bounds::amIIntersectingWith ( const Bounds other  )  const
Position Bounds::where ( double  x,
double  y 
) const
Position Bounds::nearlyWhere ( double  x,
double  y 
) const
void Bounds::aggregate ( const Bounds other  ) 
double INTERP_KERNEL.Bounds.getCaracteristicDim (  )  const

Field Documentation