AlpacaLibary  1.63
A closed source C++ bot for OSRS
Convex Class Reference

#include <Convex.hpp>

Public Member Functions

 Convex ()
 
 Convex (const std::vector< Point > &Vertices)
 
 Convex (const Convex &C)
 
bool Valid () const
 
bool Contains (const Point &P) const
 
Point GetMiddle () const
 
Box GetBox () const
 
Point GetHybridRandomPoint (double ProbabilityX, double ProbabilityY, double StandardDeviationX, double StandardDeviationY, double PointGenAccuracy) const
 
Point GetProfileHybridRandomPoint () const
 
Point GetProfileHybridRandomPoint (double PointGenAccuracy) const
 
Convex operator+ (const Point &P) const
 
Convex operator- (const Point &P) const
 
Convexoperator+= (const Point &P)
 
Convexoperator-= (const Point &P)
 
 operator bool () const
 
virtual ~Convex ()
 

Public Attributes

std::vector< PointVertices
 

Friends

std::ostream & operator<< (std::ostream &OS, const Convex &C)
 

Detailed Description

Definition at line 8 of file Convex.hpp.

Constructor & Destructor Documentation

◆ Convex() [1/3]

Convex::Convex ( )

◆ Convex() [2/3]

Convex::Convex ( const std::vector< Point > &  Vertices)

◆ Convex() [3/3]

Convex::Convex ( const Convex C)

◆ ~Convex()

virtual Convex::~Convex ( )
virtual

Member Function Documentation

◆ Contains()

bool Convex::Contains ( const Point P) const

◆ GetBox()

Box Convex::GetBox ( ) const

◆ GetHybridRandomPoint()

Point Convex::GetHybridRandomPoint ( double  ProbabilityX,
double  ProbabilityY,
double  StandardDeviationX,
double  StandardDeviationY,
double  PointGenAccuracy 
) const

◆ GetMiddle()

Point Convex::GetMiddle ( ) const

◆ GetProfileHybridRandomPoint() [1/2]

Point Convex::GetProfileHybridRandomPoint ( ) const

◆ GetProfileHybridRandomPoint() [2/2]

Point Convex::GetProfileHybridRandomPoint ( double  PointGenAccuracy) const

◆ operator bool()

Convex::operator bool ( ) const

◆ operator+()

Convex Convex::operator+ ( const Point P) const

◆ operator+=()

Convex& Convex::operator+= ( const Point P)

◆ operator-()

Convex Convex::operator- ( const Point P) const

◆ operator-=()

Convex& Convex::operator-= ( const Point P)

◆ Valid()

bool Convex::Valid ( ) const

Friends And Related Function Documentation

◆ operator<<

std::ostream& operator<< ( std::ostream &  OS,
const Convex C 
)
friend

Member Data Documentation

◆ Vertices

std::vector<Point> Convex::Vertices

Definition at line 11 of file Convex.hpp.


The documentation for this class was generated from the following file: