Merge branch 'devel' of https://github.com/cnr-isti-vclab/vcglib into devel
This commit is contained in:
commit
b3ce4232ab
|
@ -273,6 +273,22 @@ public:
|
||||||
min = c - PointType(radius, radius);
|
min = c - PointType(radius, radius);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
inline unsigned char MaxDim() const {
|
||||||
|
int i=1;
|
||||||
|
PointType diag = max-min;
|
||||||
|
if (diag[0] > diag[1])
|
||||||
|
i=0;
|
||||||
|
return i;
|
||||||
|
}
|
||||||
|
|
||||||
|
inline unsigned char MinDim() const {
|
||||||
|
int i=1;
|
||||||
|
PointType diag = max-min;
|
||||||
|
if (diag[0] < diag[1])
|
||||||
|
i=0;
|
||||||
|
return i;
|
||||||
|
}
|
||||||
|
|
||||||
}; // end class definition
|
}; // end class definition
|
||||||
|
|
||||||
template <class ScalarType>
|
template <class ScalarType>
|
||||||
|
|
Loading…
Reference in New Issue