public bool IsLongerThan(LineSegment that)
 {
     return(LengthSquared() > that.LengthSquared());
 }
 public bool isShorterThan(LineSegment that)
 {
     return(LengthSquared() < that.LengthSquared());
 }
 public bool IsEqualLength(LineSegment that)
 {
     return(LengthSquared().Equals(that.LengthSquared()));
 }