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/Command/ippScanOnCurveHintCommand.h" 00014 #include "ippdme/misc/ippStringBuilder.h" 00015 00016 ippScanOnCurveHintCommand::ippScanOnCurveHintCommand( 00017 unsigned int tgNum, 00018 double inDeviation, 00019 double inMinRadiusOfCurvature 00020 ) 00021 : ippCommand(tgNum, CommandTag, ScanOnCurveHint) 00022 , _deviation(inDeviation) 00023 , _MinRadiusOfCurvature(inMinRadiusOfCurvature) 00024 { 00025 00026 } 00027 00028 ippScanOnCurveHintCommand::~ippScanOnCurveHintCommand() 00029 { 00030 } 00031 00032 std::string ippScanOnCurveHintCommand::getCommandString() const 00033 { 00034 ippStringBuilder builder(_tag); 00035 builder.StartFunc(getCommandName()); 00036 builder.AppendParam(_deviation); 00037 builder.AppendParam(_MinRadiusOfCurvature); 00038 builder.EndFunc(); 00039 return builder.ToString(); 00040 }