Skip to content

M_CodeJam_Ranges_CompositeRange_2_GetIntersection_2

Andrew Koryavchenko edited this page Jun 17, 2018 · 1 revision

CompositeRange(T, TKey).GetIntersection Method (T, T)

Returns ranges that has intersections with passed range.

Namespace: CodeJam.Ranges
Assembly: CodeJam (in CodeJam.dll) Version: 2.1.0.0

Syntax

C#

public RangeIntersection<T, TKey> GetIntersection(
	T from,
	T to
)

VB

Public Function GetIntersection ( 
	from As T,
	to As T
) As RangeIntersection(Of T, TKey)

F#

member GetIntersection : 
        from : 'T * 
        to : 'T -> RangeIntersection<'T, 'TKey> 

Parameters

 

from
Type: T
The boundary From value of the range to check.
to
Type: T
The boundary To value of the range to check.

Return Value

Type: RangeIntersection(T, TKey)
Ranges that has intersections with passed range.

See Also

Reference

CompositeRange(T, TKey) Structure
GetIntersection Overload
CodeJam.Ranges Namespace

Clone this wiki locally