Return whether two locations are equal.

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

Syntax

C#
public static bool AreEqual(
	ILocation locA,
	ILocation locB
)

Parameters

locA
Type: BioSharp.Core.Bio.Symbol..::.ILocation
the first location
locB
Type: BioSharp.Core.Bio.Symbol..::.ILocation
the second location

Return Value

true if they are equivalent, false otherwise

Remarks

They are equal if both a contains b and b contains a. Equivalently, they are equal if for every point p, locA.contains(p) == locB.contains(p).

See Also