/// <summary> /// Compares two voxels for equality. /// </summary> /// <param name="IVoxelValuePair">A voxel to compare with.</param> /// <returns>True if both match; False otherwise.</returns> public Boolean Equals(IVoxelValuePair <T, TValue> IVoxelValuePair) { if ((Object)IVoxelValuePair == null) { return(false); } return(X.Equals(IVoxelValuePair.X) && Y.Equals(IVoxelValuePair.Y) && Z.Equals(IVoxelValuePair.Z)); }
/// <summary> /// Compares two instances of this object. /// </summary> /// <param name="IVoxelValuePair">An object to compare with.</param> public Int32 CompareTo(IVoxelValuePair <T, TValue> IVoxelValuePair) { return(base.CompareTo(IVoxelValuePair)); }