-"""Imago geometry module"""
+"""Imago geometry module."""
from math import sin, cos, atan, pi
class V(object):
+ """Class for vector manipulation."""
+
def __init__(self, x, y):
self.x = x
self.y = y
return V(-self.y, self.x)
def projection(p, l, v):
+ #TODO what is this?
return V(*intersection(line(p, p + v.normal), line(*l)))
def l2ad((a, b), size):