1 #ifndef BOX_HPP_INCLUDED
2 #define BOX_HPP_INCLUDED
43 Point GetHybridRandomPoint(
double ProbabilityX,
double ProbabilityY,
double StandardDeviationX,
double StandardDeviationY,
double PointGenAccuracy)
const;
51 operator bool()
const;
friend std::ostream & operator<<(std::ostream &OS, const Box &B)
Point GetHybridRandomPoint(double ProbabilityX, double ProbabilityY, double StandardDeviationX, double StandardDeviationY, double PointGenAccuracy) const
std::int32_t Y
The top-left y-axis coordinate.
Point GetBinomialRandomPoint(double ProbabilityX, double ProbabilityY) const
std::int32_t X
The top-left x-axis coordinate.
bool Contains(const Point &P) const
std::int32_t GetX2() const
bool Contains(const Box &B) const
Point GetUniformRandomPoint() const
bool Contains(std::int32_t X, std::int32_t Y) const
std::int32_t GetY2() const
Box(std::int32_t X, std::int32_t Y, std::int32_t Width, std::int32_t Height)
bool operator!=(const Box &B) const
bool operator==(const Box &B) const
Point GetProfileHybridRandomPoint(double PointGenAccuracy) const
Point GetNormalRandomPoint(double PercentageDeviationX, double PercentageDeviationY) const
Point GetProfileHybridRandomPoint() const