Open PaperOpt
OpenPaperOpt/DistributionSquare.h
Go to the documentation of this file.
00001 
00004 #pragma once
00005 #ifndef DISTRIBUTIONSQUARE_H
00006 #define DISTRIBUTIONSQUARE_H
00007 
00008 // INCLUDES
00009 //
00010 #include "Distribution.h"
00011 
00012 
00013 namespace Distributions
00014 {
00015         class DistributionSquare :
00016                 public Distribution
00017         {
00018 public:
00019 // LIFECYCLE
00020 
00030                 DistributionSquare(double xmin, double xmax, double ymin, double ymax);
00031 
00035                 ~DistributionSquare(void);
00036 
00037 // OPERATIONS
00044                 V3<double> GenerateRandomVector() const;
00045 private:
00046                 double mXmin;
00047                 double mXmax;
00048                 double mYmin;
00049                 double mYmax;
00050         }; 
00051 
00052 } //Distributions
00053 
00054 #endif // DISTRIBUTION_H