예제 #1
0
 public bool IsLongerThan(LineSegment that)
 {
     return(LengthSquared() > that.LengthSquared());
 }
예제 #2
0
 public bool isShorterThan(LineSegment that)
 {
     return(LengthSquared() < that.LengthSquared());
 }
예제 #3
0
 public bool IsEqualLength(LineSegment that)
 {
     return(LengthSquared().Equals(that.LengthSquared()));
 }