blob: 7ff4e91584a38400fc0d1b3540ea3646c40c8359 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
// File math_DoubleTab.lxx
// Lpa, le 7/02/92
#include <Standard_OutOfRange.hxx>
#include <cstring>
#ifdef __BORLANDC__
#include <mem.h>
#endif
inline Item& math_DoubleTab::Value (const Standard_Integer RowIndex,
const Standard_Integer ColIndex) const
{
return ((Item**)Addr)[RowIndex][ColIndex];
}
inline void math_DoubleTab::Copy(math_DoubleTab& Other)const
{
memmove((void*)(& Other.Value(Other.LowR,Other.LowC)),
(void*) (& Value(LowR,LowC)),
(int)((UppR - LowR + 1) * (UppC - LowC + 1) * sizeof(Item)));
}
|