MockCanvas
MockCanvas
Public Functions
| Name | |
|---|---|
| MockCanvas(float width, float height) | |
| void | addPoint(float x, float y, int data) |
| void | resize(float new_width, float new_height) |
| void | clearAndResize(float new_width, float new_height) |
Public Attributes
| Name | |
|---|---|
| BoundingBox | bounds |
| QuadTree< int > | quadTree |
| std::vector< QuadTreePoint< int > > | allPoints |
Public Functions Documentation
function MockCanvas
inline MockCanvas(
float width,
float height
)function addPoint
inline void addPoint(
float x,
float y,
int data
)function resize
inline void resize(
float new_width,
float new_height
)function clearAndResize
inline void clearAndResize(
float new_width,
float new_height
)Public Attributes Documentation
variable bounds
BoundingBox bounds;variable quadTree
QuadTree< int > quadTree;variable allPoints
std::vector< QuadTreePoint< int > > allPoints;Updated on 2026-11-13 at 20:25:40 +0000