Changed each point and doublepoint in the project to point2d.double