Grasshopper API
GH_IndexRangeIntersection Method |
Create the intersection between two ranges.
Namespace: Grasshopper.Kernel.Data
Assembly: Grasshopper (in Grasshopper.dll)

public static GH_IndexRange Intersection( GH_IndexRange range0, GH_IndexRange range1 )
Public Shared Function Intersection ( range0 As GH_IndexRange, range1 As GH_IndexRange ) As GH_IndexRange
Parameters
- range0
- Type: Grasshopper.Kernel.DataGH_IndexRange
First range to intersect. - range1
- Type: Grasshopper.Kernel.DataGH_IndexRange
Second range to intersect.
Return Value
Type: GH_IndexRangeThe intersection or an invalid range if the input doesn't intersect.
