DartTriangle.h 420 Bytes
Newer Older
1 2 3 4 5 6 7 8
#ifndef OERSTED_DARTTRIANGLE_H
#define OERSTED_DARTTRIANGLE_H

#include <cstddef>
#include <cstdint>

class DartTriangle {
public:
9 10
    DartTriangle() : Contour{SIZE_MAX}, Edge{SIZE_MAX} {};

11 12
    DartTriangle(size_t e, size_t c) : Edge{e}, Contour{c} {};

13 14 15 16
    size_t contour() const { return Contour; };

    size_t edge() const { return Edge; };

17
    size_t Contour;
18
    size_t Edge;
19 20 21
};

#endif //OERSTED_DARTTRIANGLE_H