public override bool Equals(object obj)
{
var other = obj as Position;
if (other == null) return false;
var deviation = Math.Abs(this.X - other.X) +
Math.Abs(this.Y - other.Y) +
Math.Abs(this.Z - other.Z) +
Math.Abs(this.H - other.H);
return Math.Abs(deviation) <= 0;
}