Return the intersection of two locations.

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 ILocation Intersection(
	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

a location that is the intersection of locA and locB

Remarks

The intersection will be a location instance that contains every index contained by both locA and locB.

See Also