6#if !defined(FLOATPOINT_INCLUDE)
7#define FLOATPOINT_INCLUDE
15BEGIN_MOOTOOLS_NAMESPACE
29 void SetWeight(
float weight);
41 virtual void Dump()
const;
43 bool IsKindOf(
unsigned int classid)
const;
44 virtual unsigned int ClassID()
const;
56 static inline unsigned int HashValue(
const CWeightPoint& hash)
63inline real* CWeightPoint::ValPtr()
68inline void CWeightPoint::SetWeight(
float weight)
70 this->weight = weight;
75 CPt::operator=(
coord);
76 weight =
coord.weight;
83 return (weight ==
coord.weight);
CPt class is the base class for different class of points (C3DPoint, CUVWPoint...)
The class defines an x, y, z 3D point which can use int, float or double.
Definition 3DPoint.h:27
CPt base only contains some flags that are used by the derived class.
Definition Point.h:60
CWeightPoint is a point that have a float value and can be used for adding ponderation information.
Definition WeightPoint.h:20