angle method

double angle(
  1. Vertex v,
  2. Vertex b
)

Implementation

double angle(Vertex v, Vertex b) {
  var vc = v.position - position;
  var bc = b.position - position;
  return vc.angleTo(bc);
}