TimeIntervalCollectionIntersect Method (TimeInterval) |
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.2.419.0 (24.2.419.0)
Syntax public TimeIntervalCollection Intersect(
TimeInterval interval
)
Public Function Intersect (
interval As TimeInterval
) As TimeIntervalCollection
public:
TimeIntervalCollection^ Intersect(
TimeInterval^ interval
)
member Intersect :
interval : TimeInterval -> TimeIntervalCollection
Parameters
- interval
- Type: AGI.Foundation.TimeTimeInterval
The interval to intersect with this collection
Return Value
Type:
TimeIntervalCollectionThe intersection of this collection with the interval.
Remarks
The returned collection will only contain the intervals that are in both collections.
See Also