Exemple #1
0
 public CoordinatePair3(CoordinatePair3 <T> other)
 {
     if (other == null)
     {
         throw new ArgumentNullException();
     }
     this.Start = new Coordinate3 <T>(other.Start);
     this.End   = new Coordinate3 <T>(other.End);
 }
Exemple #2
0
 public Coordinate3(Coordinate3 <T> other)
 {
     if (other == null)
     {
         throw new ArgumentNullException();
     }
     this.X = other.X;
     this.Y = other.Y;
     this.Z = other.Z;
 }
Exemple #3
0
 public CoordinatePair3(Coordinate3 <T> start, Coordinate3 <T> end)
 {
     this.Start = start;
     this.End   = end;
 }
Exemple #4
0
 public bool Equals(Coordinate3 <T> other)
 {
     return(this.X.Equals(other.X) && this.Y.Equals(other.Y) && this.Z.Equals(other.Z));
 }