Ejemplo n.º 1
0
 /// <summary>
 /// Returns a value that indicates whether two lines are equal.
 /// </summary>
 /// <param name="left">The first line to compare.</param>
 /// <param name="right">The second line to compare.</param>
 /// <returns>true if the left and right are equal; otherwise, false.</returns>
 public static bool Equals(Line2i left, Line2i right)
 {
     return(left == right);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Writes the given <see cref="Line2i"/> to an <see cref="Ibasa.IO.BinaryWriter">.
 /// </summary>
 public static void Write(this Ibasa.IO.BinaryWriter writer, Line2i line)
 {
     writer.Write(line.Start);
     writer.Write(line.End);
 }