Click or drag to resize

TimeIntervalCollectionTIntersect Method (TimeIntervalT)

Computes the intersection of this interval collection with an interval.

Namespace:  AGI.Foundation.Time
Assembly:  AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax
public TimeIntervalCollection<T> Intersect(
	TimeInterval<T> interval
)

Parameters

interval
Type: AGI.Foundation.TimeTimeIntervalT
The interval to intersect with this collection

Return Value

Type: TimeIntervalCollectionT
The intersection of this collection with the interval.
Remarks
The returned collection will only contain the intervals that are in both collections. If two intervals in the two collections overlap but have different Data, the overlapping part will NOT be included in the resulting collection.
See Also