Determines whether the locations are touching or not (if they could be merged in a single location.

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 CanMerge(
	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 can merge, false otherwise

Remarks

Two locations can merge if they contain at least one index of one beside one index of the other.

See Also