17 void setCoordinates(
const std::array<double, 3> &coordinates);
19 void setCoordinates(
double x,
double y,
double z);
21 std::array<double, 3>
const &getCoordinates()
const;
23 void setColor(std::string_view color);
25 std::string_view getColor()
const;
27 void setSymbol(
int symbol);
29 const int &getSymbol()
const;
31 void setSize(
int size);
33 const int &getSize()
const;
36 std::array<double, 3> _coordinates;
45inline void Point::setCoordinates(
const std::array<double, 3> &coordinates) {
46 _coordinates = coordinates;
49inline std::array<double, 3>
const &Point::getCoordinates()
const {
50 return (_coordinates);
53inline void Point::setColor(std::string_view color) { _color = color; }
55inline std::string_view Point::getColor()
const {
return (_color); }
57inline void Point::setSymbol(
int symbol) { _symbol = symbol; }
59inline const int &Point::getSymbol()
const {
return (_symbol); }
61inline void Point::setSize(
int size) { _size = size; }
63inline const int &Point::getSize()
const {
return (_size); }