C3D Toolkit  Kernel - 109696, Vision - 2.4.0.76

Distances between surfaces with points. More...

#include <alg_dimension.h>

Public Member Functions

 MbMinMaxSurfDists (size_t nReserve=0)
 Constructor.
 
virtual ~MbMinMaxSurfDists ()
 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 bAdjustMemory)
 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 GetSurfDistance (size_t k, double &d, MbCartPoint &uv1, MbCartPoint &uv2) const
 Get distance and points on surface.
 
bool GetSurfDistance (size_t k, double &d, bool &plus, MbCartPoint &uv1, MbCartPoint &uv2) const
 Get distance and points on surface.
 
bool AddSurfDistance (double distance, bool plus, const MbCartPoint &uv1, const MbCartPoint &uv2, bool bAddEqual, 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 MbMinMaxSurfDists &)
 Assignment operator.
 

Detailed Description

Distances between surfaces with points.

Distances between surfaces with points.


The documentation for this class was generated from the following file: