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

ippOnePropertyAlignmentVolume.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 #include "ippdme/Property/ippOnePropertyAlignmentVolume.h"
00013 #include "ippdme/misc/ippStringBuilder.h"
00014 #include "ippdme/ippProp.h"
00015 
00016 ippOnePropertyAlignmentVolume::ippOnePropertyAlignmentVolume
00017 (
00018   ippOtherKeyType keyword, // sould be Tool or FoundTool
00019   double inX, double inY, double inZ,double inR
00020 )
00021 : ippOneProperty(ippProp(keyword,AlignmentVolume))
00022 {
00023   _x = inX;
00024   _y = inY;
00025   _z = inZ;
00026   _r = inR;
00027 }
00028 
00029 
00030 
00031 void ippOnePropertyAlignmentVolume::propString(ippStringBuilder& s) const
00032 {
00033   s.StartFunc(_prop.toString().c_str());
00034     s.Append(getKeyString(SPH));
00035     s.Append(", ");
00036     s.AppendParam(_x);
00037     s.AppendParam(_y);
00038     s.AppendParam(_z);
00039     s.AppendParam(_r);
00040   s.EndFunc();
00041 }

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