TimeIntervalCollectionTIntersect Method (TimeInterval) |
Computes the intersection of this interval collection with an interval without data.
The returned intervals will contain the data of the intervals in this collection
which overlap with the specified 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 interval
)
Public Function Intersect (
interval As TimeInterval
) As TimeIntervalCollection(Of T)
public:
TimeIntervalCollection<T>^ Intersect(
TimeInterval^ interval
)
member Intersect :
interval : TimeInterval -> TimeIntervalCollection<'T>
Parameters
- interval
- Type: AGI.Foundation.TimeTimeInterval
The interval to intersect with this collection, regardless of data.
Return Value
Type:
TimeIntervalCollectionTThe intersection of this collection with the interval, with the
data in the collection representing the data which already exists in this collection.
See Also