Added getDistanceToSource and getEquiPoint to Window class

Signed-off-by: Titouan Rigoudy <titouan.rigoudy@gmail.com>