AI Watch A1
Multi-person 3D skeleton detection using Intel RealSense and OpenPose with Kafka support.
|
Point class is used for point creations and manipulations. More...
#include <Point.hpp>
Public Member Functions | |
Point (float x, float y, Point *decorated=nullptr) | |
Construct a new Point object. More... | |
~Point (void) | |
Destroy the Point object. More... | |
float | getX (void) |
Get the Point's x coordinate value. More... | |
float | getY (void) |
Get the Point's y coordinate value. More... | |
const Point * | getDecorated (void) |
Get the pointer to Point used to check if that's a "decorated" Point. More... | |
Protected Member Functions | |
void | setX (float x) |
Set the Point's x coordinate value. More... | |
void | setY (float y) |
Set the Point's y coordinate value. More... | |
Private Attributes | |
float | x |
Point's x coordinate. More... | |
float | y |
Point's y coordinate. More... | |
const Point * | decorated |
A pointer to Point. More... | |
Point class is used for point creations and manipulations.
Point class is a class that represents a 2D Point with its own x coordinate and y coordinate. Furthermore, the Decorator pattern it's implemented with a raw pointer to a Point.
|
inline |
Point::~Point | ( | void | ) |
Destroy the Point object.
Definition at line 23 of file Point.cpp.
References getDecorated().
const Point * Point::getDecorated | ( | void | ) |
float Point::getX | ( | void | ) |
float Point::getY | ( | void | ) |
|
protected |
|
protected |
|
private |
|
private |
|
private |