|
C3D Toolkit
Kernel - 118052, Vision - 2.14.3.1813
|
One-dimensional box. More...
#include <mb_rect1d.h>
Public Member Functions | |
| MbRect1D () | |
| Default constructor. | |
| MbRect1D (const MbRect1D &) | |
| Copy constructor. | |
| MbRect1D (double pmin, double pmax, bool equalize=true) | |
| Constructor by given bounds. | |
| void | Init () |
| Initialize unspecified. | |
| void | Init (const MbRect1D &) |
| Initialize by another box. | |
| void | Init (double pmin, double pmax, bool equalize=true) |
| Initialize by given bounds. | |
| void | Invert () |
| Create reverted one-dimensional box. | |
| void | Short (double, bool bis=true, double delta=LENGTH_EPSILON) |
| Decrease one-dimensional box by a given factor and increase by delta. | |
| void | Short (double, double, bool bis=true, double delta=LENGTH_EPSILON) |
| Decrease one-dimensional box by a given factor relative to point and increase by delta. | |
| void | Include (double, bool bis=true, double delta=LENGTH_EPSILON) |
| Include point. | |
| void | Include (const MbRect1D &, bool bis=true, double delta=LENGTH_EPSILON) |
| Set box. | |
| void | IncludeEx (double) |
| Include point. | |
| void | IncludeEx (const MbRect1D &) |
| Set box. More... | |
| void | Equalize () |
| Justify range (zmin, zmax). | |
| bool | IsEmpty () const |
| Check if region is reverted. | |
| bool | IsDegenert () const |
| Check if region is degenerate. | |
| bool | IsIntersect (const MbRect1D &) const |
| Is there intersection with another rectangle. | |
| bool | IsIntersect (double) const |
| Is there intersection with point. | |
| bool | IsIntersect (double, double) const |
| Is there intersection with another rectangle. | |
| bool | IsEmptyInt (double) const |
| Is there intersection with empty box. | |
| void | SetInR (double &) const |
| Drive one-dimensional point to box. | |
| void | SetInRect (double &) const |
| Drive one-dimensional point to box. | |
| void | SetInRect (MbRect1D &) const |
| Drive another region to box. | |
| double | GetMin () const |
| Get minimum. | |
| double | GetMax () const |
| Get maximum. | |
| void | SetMin (double v) |
| Set minimum. | |
| void | SetMax (double v) |
| Set maximum. | |
| double | GetScale () const |
| Get characteristic scale of one-dimensional box. | |
| void | Increase (double) |
| Increase box. | |
| bool | IsBound (double, double) const |
| Check if first parameter belongs to bound with tolerance given by second parameter. | |
| void | Move (double) |
| Move box. | |
| bool | IsEqual (const MbRect1D &, double eps) const |
| Check equality of two boxes with given tolerance. | |
| bool | Intersection (const MbRect1D &, const MbRect1D &, double eps=LENGTH_EPSILON) |
| Find bounding box of two bounding boxes intersection. | |
| bool | IsSame (const MbRect1D &other, double accuracy) const |
| Determine whether an object is equal? | |
| bool | operator== (const MbRect1D &) const |
| Check for equality (tolerance PARAM_REGION). | |
| bool | operator< (const MbRect1D &) const |
| Check for lesser (tolerance PARAM_REGION). | |
Public Attributes | |
| double | zmin |
| Start of range. | |
| double | zmax |
| End of range. | |
One-dimensional box.