feat: add domain model foundation
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
#pragma once
|
||||
|
||||
#include "fesa/core/ModelTypes.hpp"
|
||||
|
||||
#include <array>
|
||||
|
||||
namespace fesa::core {
|
||||
|
||||
class Node {
|
||||
public:
|
||||
Node(NodeId id, double x, double y, double z);
|
||||
|
||||
NodeId id() const noexcept;
|
||||
double x() const noexcept;
|
||||
double y() const noexcept;
|
||||
double z() const noexcept;
|
||||
const std::array<double, 3>& coordinates() const noexcept;
|
||||
|
||||
private:
|
||||
NodeId id_;
|
||||
std::array<double, 3> coordinates_;
|
||||
};
|
||||
|
||||
} // namespace fesa::core
|
||||
Reference in New Issue
Block a user