Skip to content

File Edge.h

File List > include > structure > Edge.h

Go to the documentation of this file

#pragma once
#include "mesh/Mesh.h"

namespace Argos {

    class Edge {
    private:
        int v1, v2;
    public:
        Edge(int v1, int v2);

        bool operator<(const Edge& other) const;

        static std::vector<Edge> getUniquesEdges(const Mesh& mesh);

        int getV1() const;

        int getV2() const;
    };
}