1048576,2097152,4194304,8388608,
16777216,33554432,67108864,134217728,
268435456,536870912,1073741824,2147483648U};
-class BSB_T3Bits { //-- size is power of 2 > 4
+
+//-- size is power of 2 > 4
+class BSB_T3Bits
+{
public:
Standard_Integer _DECAL;
Standard_Integer NbAxisZ(const Standard_Integer i) { return(axisZ[0][i]); }
inline Standard_Integer GrilleInteger(Standard_Integer ix,
- Standard_Integer iy,
- Standard_Integer iz) {
+ Standard_Integer iy,
+ Standard_Integer iz)
+ {
Standard_Integer tz = iz<<_DECAL2;
Standard_Integer ty = iy<<_DECAL;
Standard_Integer t = ix;
- t|=ty; t|=tz;
+ t|=ty;
+ t|=tz;
return(t);
}
-
+
inline void IntegerGrille(Standard_Integer t,
- Standard_Integer &ix,
- Standard_Integer &iy,
- Standard_Integer &iz) {
+ Standard_Integer &ix,
+ Standard_Integer &iy,
+ Standard_Integer &iz)
+ {
ix = t & _BASEM1; t>>=_DECAL;
iy = t & _BASEM1; t>>=_DECAL;
iz = t;
}
+
+private:
+
+ BSB_T3Bits (const BSB_T3Bits&);
+ BSB_T3Bits& operator= (const BSB_T3Bits&);
};
+
//=======================================================================
-BSB_T3Bits::~BSB_T3Bits() {
+BSB_T3Bits::~BSB_T3Bits()
+{
if(p) { delete [] p; p=0; }
#if DEBUG
printf("\n BASE:%d\n",_BASE);