public override DrawingPoint GetClosestPoint(Vector pos)
 {
     return(Point1.dist(pos) < Point2.dist(pos) ? Point1 : Point2);
 }