Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

ippBox.cpp

Go to the documentation of this file.
00001 // 
00002 // DISCLAIMER: 
00003 //  This software was produced by the National Institute of Standards 
00004 //  and Technology (NIST), an agency of the U.S. government, and by statute is 
00005 //  not subject to copyright in the United States.  Recipients of this 
00006 //  software assume all responsibility associated with its operation,
00007 //  modification,maintenance, and subsequent redistribution. 
00008 //
00009 //  See NIST Administration Manual 4.09.07 b and Appendix I. 
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 }

Generated on Wed Nov 8 00:20:03 2006 for IPPDME by  doxygen 1.4.1