33 #include <MeshKernel/Contacts.hpp>
34 #include <MeshKernel/CurvilinearGrid/CurvilinearGridFromSplines.hpp>
35 #include <MeshKernel/CurvilinearGrid/CurvilinearGridLineShift.hpp>
36 #include <MeshKernel/CurvilinearGrid/CurvilinearGridOrthogonalization.hpp>
37 #include <MeshKernel/Mesh1D.hpp>
38 #include <MeshKernel/Mesh2D.hpp>
39 #include <MeshKernel/OrthogonalizationAndSmoothing.hpp>
41 #include "MeshKernelApi/ApiCache/BoundariesAsPolygonCache.hpp"
42 #include "MeshKernelApi/ApiCache/CachedPointValues.hpp"
43 #include "MeshKernelApi/ApiCache/FacePolygonPropertyCache.hpp"
44 #include "MeshKernelApi/ApiCache/HangingEdgeCache.hpp"
45 #include "MeshKernelApi/ApiCache/NodeInPolygonCache.hpp"
46 #include "MeshKernelApi/ApiCache/ObtuseTriangleCentreCache.hpp"
47 #include "MeshKernelApi/ApiCache/PolygonRefinementCache.hpp"
48 #include "MeshKernelApi/ApiCache/SmallFlowEdgeCentreCache.hpp"
63 m_mesh1d = std::make_shared<meshkernel::Mesh1D>(projection);
64 m_mesh2d = std::make_shared<meshkernel::Mesh2D>(projection);
65 m_network1d = std::make_shared<meshkernel::Network1D>(projection);
Projection
Enumerator describing the supported projections.
Definition: Definitions.hpp:41
std::shared_ptr< meshkernel::Contacts > m_contacts
Shared pointer to meshkernel::Contacts instance.
Definition: State.hpp:74
MeshKernelState()=default
Default constructor.
The class holding the state of the C API library.
Definition: State.hpp:54
std::shared_ptr< BoundariesAsPolygonCache > m_boundariesAsPolygonCache
boundaries as polygon cache
Definition: State.hpp:88
std::shared_ptr< SmallFlowEdgeCentreCache > m_smallFlowEdgeCentreCache
small flow edge centres cache
Definition: State.hpp:91
std::shared_ptr< meshkernel::CurvilinearGridOrthogonalization > m_curvilinearGridOrthogonalization
Shared pointer to meshkernel::CurvilinearGridOrthogonalization instance.
Definition: State.hpp:80
std::shared_ptr< PolygonRefinementCache > m_polygonRefinementCache
polygon refinement cache
Definition: State.hpp:89
std::shared_ptr< meshkernel::CurvilinearGridLineShift > m_curvilinearGridLineShift
Shared pointer to meshkernel::CurvilinearGridLineShift instance.
Definition: State.hpp:81
std::shared_ptr< HangingEdgeCache > m_hangingEdgeCache
hanging edge id cache
Definition: State.hpp:92
MeshKernelState(meshkernel::Projection projection)
Simple constructor.
Definition: State.hpp:61
std::shared_ptr< meshkernel::OrthogonalizationAndSmoothing > m_meshOrthogonalization
Shared pointer to meshkernel::OrthogonalizationAndSmoothing instance.
Definition: State.hpp:78
std::shared_ptr< meshkernel::Mesh2D > m_mesh2d
Shared pointer to meshkernel::Mesh2D instance.
Definition: State.hpp:73
std::shared_ptr< meshkernel::Mesh1D > m_mesh1d
Shared pointer to meshkernel::Mesh1D instance.
Definition: State.hpp:71
Contains all structs and functions exposed at the API level.
Definition: BoundingBox.hpp:32
std::shared_ptr< meshkernel::Network1D > m_network1d
Shared pointer to meshkernel::Network1D instance.
Definition: State.hpp:72
std::shared_ptr< meshkernel::CurvilinearGridFromSplines > m_curvilinearGridFromSplines
Shared pointer to meshkernel::CurvilinearGridFromSplines instance.
Definition: State.hpp:79
meshkernel::Projection m_projection
Projection used by the meshes.
Definition: State.hpp:84
std::shared_ptr< NodeInPolygonCache > m_nodeInPolygonCache
node in polygon cache
Definition: State.hpp:90
std::shared_ptr< ObtuseTriangleCentreCache > m_obtuseTriangleCentreCache
centre of obtuse triangles cache
Definition: State.hpp:93
std::shared_ptr< meshkernel::CurvilinearGrid > m_curvilinearGrid
Shared pointer to meshkernel::CurvilinearGrid instance.
Definition: State.hpp:75
std::shared_ptr< FacePolygonPropertyCache > m_facePropertyCache
face property cache
Definition: State.hpp:87