00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011 #include "stdafx.h"
00012
00013 #include "ippdme/ippBox.h"
00014
00015 ippBox::ippBox(const ippBox& rhs)
00016 {
00017 *this = rhs;
00018 }
00019
00020 void ippBox::operator=(const ippBox& rhs)
00021 {
00022 Cx = rhs.Cx; Cy = rhs.Cy; Cz = rhs.Cz;
00023 Ex = rhs.Ex; Ey = rhs.Ey; Ez = rhs.Ez;
00024 Ix = rhs.Ix; Iy = rhs.Iy; Iz = rhs.Iz;
00025 Jx = rhs.Jx; Jy = rhs.Jy; Jz = rhs.Jz;
00026 Kx = rhs.Kx; Ky = rhs.Ky; Kz = rhs.Kz;
00027 }
00028
00029 IPPDME_EXT_FUNC bool operator<(const ippBox&,const ippBox&)
00030 {
00031 return 0;
00032 }
00033 IPPDME_EXT_FUNC bool operator==(const ippBox& lhs,const ippBox& rhs)
00034 {
00035 return
00036 lhs.Cx == rhs.Cx && lhs.Cy == rhs.Cy && lhs.Cz == rhs.Cz &&
00037 lhs.Ex == rhs.Ex && lhs.Ey == rhs.Ey && lhs.Ez == rhs.Ez &&
00038 lhs.Ix == rhs.Ix && lhs.Iy == rhs.Iy && lhs.Iz == rhs.Iz &&
00039 lhs.Jx == rhs.Jx && lhs.Jy == rhs.Jy && lhs.Jz == rhs.Jz &&
00040 lhs.Kx == rhs.Kx && lhs.Ky == rhs.Ky && lhs.Kz == rhs.Kz;
00041 }