#include <poly_DistanceFunc.h>
Public Types | |
enum | Mode { Mode_Signed = 0, Mode_Unsigned } |
Type of distance to measure. More... | |
Public Member Functions | |
mobiusPoly_EXPORT | poly_DistanceFunc (const Mode mode) |
Mode | GetMode () const |
Public Member Functions inherited from mobius::poly_RealFunc | |
poly_RealFunc () | |
Default ctor. | |
poly_RealFunc (const t_xyz &domainMin, const t_xyz &domainMax) | |
const t_xyz & | GetDomainMin () const |
const t_xyz & | GetDomainMax () const |
Public Member Functions inherited from mobius::core_TrivariateFunc | |
virtual double | Eval (const double x, const double y, const double z) const =0 |
Public Member Functions inherited from mobius::core_OBJECT | |
mobiusCore_EXPORT void | IncRef () |
mobiusCore_EXPORT void | DecRef () |
mobiusCore_EXPORT int | NbRefs () const |
virtual mobiusCore_EXPORT void | Dump (std::ostream *out) const |
const mobiusCore_EXPORT std::string & | GetName () const |
mobiusCore_EXPORT void | SetName (const std::string &name) |
mobiusCore_EXPORT bool | HasName () const |
Protected Attributes | |
Mode | m_mode |
Type of distance. | |
Protected Attributes inherited from mobius::poly_RealFunc | |
t_xyz | m_domainMin |
Min bound of the three-dimensional domain. | |
t_xyz | m_domainMax |
Max bound of the three-dimensional domain. | |
Abstract distance function. The derived classes should implement one or another way of distance computation. It is recommended to use accelerating structures such as BVH for the fast distance computation.
mobiusPoly_EXPORT mobius::poly_DistanceFunc::poly_DistanceFunc | ( | const Mode | mode | ) |
Ctor.
[in] | mode | signed/unsigned. |
|
inline |