Determines whether the specified Object is equal to the current Object.

Namespace:  BioSharp.Core.Bio.Symbol
Assembly:  BioSharp.Core (in BioSharp.Core.dll) Version: 0.1.3191.26120 (0.1.0.0)

Syntax

C#
public override bool Equals(
	Object obj
)

Parameters

obj
Type: System..::.Object
The Object to compare with the current Object.

Return Value

true if the specified Object is equal to the current Object; otherwise, false.

Implements

ILocation..::.Equals(Object)

Remarks

Abstractly, a location is equal to another if for every point in one it is also in the other. This is equivalent to a.Contains(b) && b.Contains(a). You should call LocationTools.AreEqual after casting l to ILocation.

Exceptions

ExceptionCondition
System..::.NullReferenceException The obj parameter is null.

See Also