Avara3D 0.2.0
C++ API reference
Point.h
1//
2// Point.h
3// avara3d
4//
5// Created by Morgan Davis on 5/20/18.
6// Copyright © 2026 Morgan K Davis. All rights reserved.
7//
8
9#ifndef AVARA3D_MESH_POINT_H
10#define AVARA3D_MESH_POINT_H
11
12#include <memory>
13
14#include "a3d/Color.h"
15#include "a3d/Math.h"
16
17namespace a3d {
18
19 class Color;
20
21 class Point {
22
23// [Internal Lifecycle Functions]
24
25 public:
26 explicit Point(const math::vec3& location);
27 Point(const math::vec3& location, const Color& color);
28
29// [Internal Member Functions]
30
31 const math::vec3& location() const;
32 void location(const math::vec3& point);
33 const Color& color() const;
34 void color(const Color& color);
35
36// [Private Member Variables]
37
38 private:
39 math::vec3 _location;
40 Color _color;
41 };
42
43}
44
45#endif // AVARA3D_MESH_POINT_H