AlpacaLibary  1.63
A closed source C++ bot for OSRS
Wireframe.hpp
Go to the documentation of this file.
1 #ifndef WIREFRAME_HPP
2 #define WIREFRAME_HPP
3 
4 #include <vector>
5 #include "Point.hpp"
6 #include "Triangle.hpp"
7 #include "Convex.hpp"
8 #include "Box.hpp"
9 
10 class Wireframe
11 {
12  public:
14  Wireframe(const std::vector<Point>& Points);
16 
17  Point GetHybridRandomPoint(double ProbabilityX, double ProbabilityY, double StandardDeviationX, double StandardDeviationY, double PointGenAccuracy) const;
19  Point GetProfileHybridRandomPoint(double PointGenAccuracy) const;
20  Point GetHighPrecisionPoint(double Deviation = 0.50) const;
21  Box GetBox() const;
22  Convex GetConvex() const;
23  bool Contains(const Point& P) const;
24  operator bool() const;
25  std::vector<Point> Points;
26  std::vector<Triangle> Triangles;
28  Box B;
29 };
30 
31 #endif // WIREFRAME_HPP
Definition: Box.hpp:11
Definition: Convex.hpp:9
Definition: Point.hpp:10
Convex C
Definition: Wireframe.hpp:27
Point GetHybridRandomPoint(double ProbabilityX, double ProbabilityY, double StandardDeviationX, double StandardDeviationY, double PointGenAccuracy) const
bool Contains(const Point &P) const
Convex GetConvex() const
Point GetProfileHybridRandomPoint() const
Wireframe(const std::vector< Point > &Points)
Point GetProfileHybridRandomPoint(double PointGenAccuracy) const
std::vector< Point > Points
Definition: Wireframe.hpp:25
Box GetBox() const
Point GetHighPrecisionPoint(double Deviation=0.50) const
std::vector< Triangle > Triangles
Definition: Wireframe.hpp:26