Edge.cpp 227 Bytes
Newer Older
1
2
3
4
5
#include "Edge.h"
#include "Mesh.h"

double_t Edge::length(Mesh const &m) const {
    return dist(m.point(node()), m.point(m.edge(next()).node()));
6
7
8
9
}

void Edge::add_to_queue(Mesh &m) {
    m.constraint(Self).add_to_queue(m);
10
}