Constructors
Properties
MaxValue
#Methods
AdjacentTo
#Tests whether this range is adjacent to another.
Returns: True if the ranges are adjacent and not intersecting.
Contains
#Tests whether a specified range is entirely contained within this range.
Returns: True if the range is inside this one.
Contains
#Tests whether a specified index is defined by this range.
Returns: True if the index is inside this range.
Intersection
#Create the intersection between two ranges.
Returns: The intersection or an invalid range if the input doesn't intersect.
IntersectsWith
#Tests whether certain indices are described by both this and another range.
Returns: True if the ranges intersect.
Split
#Split a range into two using an integer index.
public static int Split()
range,
Range to split.
splitter,
Range to split with.
ref GH_IndexRange
result0,
First split result if successful, or an invalid range if not.
ref GH_IndexRange
result1
Second split result if successful, or an invalid range if not.
Returns: The number of valid split results.
Union
#Create a range which contains both input ranges.
Returns: Smallest range big enough to contain both range0 and range1.