public virtual PointImmutableBuilder Set(PointImmutable other) { SetX(other.X); SetY(other.Y); SetA(other.A); return(this); }
public virtual PointImmutableBuilder Set(PointImmutable other) { SetX(other.X); SetY(other.Y); SetA(other.A); return this; }
public bool Equals(PointImmutable other) { if (ReferenceEquals(null, other)) return false; if (ReferenceEquals(this, other)) return true; return ((X == null && other.X == null) || (X != null && other.X != null && Math.Abs((double) X - (double) other.X) < 1E-06)) && Math.Abs(Y - other.Y) < 1E-06 && Equals(A, other.A) ; }
public bool Equals(PointImmutable other) { if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return(((X == null && other.X == null) || (X != null && other.X != null && Math.Abs((double)X - (double)other.X) < 1E-06)) && Math.Abs(Y - other.Y) < 1E-06 && Equals(A, other.A) ); }
public virtual PointImmutableBuilder SetA(PointImmutable a) { this.a = a; return this; }
public virtual PointImmutable WithA(PointImmutable a) { return(new PointImmutable(X, Y, a)); }
protected BasePointImmutable(BasePointImmutable other) { this.X = other.X; this.Y = other.Y; this.A = other.A; }
protected BasePointImmutable(double?x, double y, PointImmutable a) { X = x; Y = y; A = a; }
public virtual PointImmutable WithA(PointImmutable a) { return new PointImmutable(X, Y, a); }
protected BasePointImmutable(double? x, double y, PointImmutable a) { X = x; Y = y; A = a; }
public PointImmutable(PointImmutable other) : base(other) { }
public PointImmutable(double? x, double y, PointImmutable a) : base(x, y, a) { }
public virtual PointImmutableBuilder SetA(PointImmutable a) { this.a = a; return(this); }
public PointImmutable(double?x, double y, PointImmutable a) : base(x, y, a) { }