#pragma once #include "vector.hpp" #include #include namespace hyporo { template using list = std::vector; using std::shared_ptr; using std::weak_ptr; // Forward declaration class Edge; class Mesh; // Class declaration class Vertex : public VectorSpace { //- List of weak pointers to edges that use this vertex mutable list> edges_; public: // Constructors inline Vertex(Mesh& mesh, const scalar& x, const scalar& y, const scalar& z); // Member functions inline const scalar& x() const; inline const scalar& y() const; inline const scalar& z() const; }; } // end namespace hyporo #include "Vertex.hxx"