|
C3D Toolkit
Kernel - 118069, Vision - 2.16.7.1844
|
Distances between surfaces with points. More...
#include <alg_dimension.h>
Public Member Functions | |
| MbMinMaxItemItemDistances (size_t nReserve=0) | |
| Constructor. | |
| virtual | ~MbMinMaxItemItemDistances () |
| Destructor. | |
| bool | IsEmpty () const |
| Are there any measurements? | |
| size_t | GetCount () const |
| The number of measurements. | |
| ptrdiff_t | GetMaxIndex () const |
| Index of the last measurement. | |
| void | Reserve (size_t nReserve) |
| Reserve memory for 'nReserve' elements. | |
| void | RemoveAll (bool freeMemory) |
| Delete all elements. | |
| void | AdjustMemory () |
| Free the unnecessary memory. | |
| bool | GetDistance (size_t k, double &d) const |
| Get the distance by the index. | |
| bool | GetSignedDistance (size_t k, double &d) const |
| Get the signed distance by the index. | |
| bool | IsNegativeDistance (size_t k) const |
| Whether the distance is negative. | |
| bool | GetMinDistance (double &d) const |
| Get minimal distance. | |
| bool | GetMaxDistance (double &d) const |
| Get maximal distance. | |
| bool | GetMidDistance (double &d) const |
| Get average distance. | |
| bool | GetItemDistance (size_t k, double &d, Param1 &par1, Param2 &par2) const |
| Get distance and points on surface. | |
| bool | GetItemDistance (size_t k, double &d, bool &plus, Param1 &par1, Param2 &par2) const |
| Get distance and points on surface. | |
| bool | AddItemDistance (double d, bool plus, const Param1 &par1, const Param2 &par2, bool addEqual, double eps=LENGTH_EPSILON) |
| Add distance and points on surface. | |
| void | Sort () |
| Sort by distance in the ascending order. | |
| void | RemoveEqualDistances (double eps=LENGTH_EPSILON) |
| Remove objects with similar distances. | |
| void | operator= (const MbMinMaxItemItemDistances &other) |
| Assignment operator. | |
Distances between surfaces with points.
Distances between surfaces with points.