Files
FESADev/include/fesa/core/ElementDefinition.hpp
T
2026-06-09 10:08:34 +09:00

30 lines
610 B
C++

#pragma once
#include "fesa/core/ModelTypes.hpp"
#include <array>
namespace fesa::core {
class ElementDefinition {
public:
ElementDefinition(
ElementId id,
ElementType type,
std::array<NodeId, 4> connectivity,
PropertyId property_id);
ElementId id() const noexcept;
ElementType type() const noexcept;
const std::array<NodeId, 4>& connectivity() const noexcept;
PropertyId propertyId() const noexcept;
private:
ElementId id_;
ElementType type_;
std::array<NodeId, 4> connectivity_;
PropertyId property_id_;
};
} // namespace fesa::core