added plane2plane constraint
changed basic type for line2d from vertex2d to an own class