Open PaperOpt
OpenPaperOpt/DistributionDisk.h
Go to the documentation of this file.
00001 
00002 #pragma once
00003 #ifndef DISTRIBUTIONDISK_H
00004 #define DISTRIBUTIONDISK_H
00005 #include "Distribution.h"
00006 
00007 namespace Distributions
00008 {
00012         class DistributionDisk :
00013                 public Distribution
00014         {
00015         public:
00022                 DistributionDisk(V3<double> center, double diameter);
00023 
00027                 ~DistributionDisk(void);
00028 
00036                 V3<double> GenerateRandomVector() const;
00037 private:
00038                 
00039                 double mDiameter;
00040                 V3<double> mValue;
00041                 V3<double> mCenter;
00042 
00043         }; //DistributionDisk
00044 
00045 } //Distributions
00046 
00047 #endif // DISTRIBUTION_H