Methods_T_Rhino_Geometry_Interval - mcneel/rhinocommon-api-docs GitHub Wiki

Interval Methods

The Interval type exposes the following members.

Methods

 

Name Description
Public method CompareTo Compares this Interval with another interval. The lower bound has first evaluation priority.
Public method EpsilonEquals Check that all values in other are within epsilon of the values in this
Public method Equals(Object) Determines whether the specified Object is equal to the current Interval, comparing by value. (Overrides ValueType.Equals(Object).)
Public method Equals(Interval) Determines whether the specified Interval is equal to the current Interval, comparing by value.
Public methodStatic member FromIntersection Returns a new Interval that is the Intersection of the two input Intervals.
Public methodStatic member FromUnion Returns a new Interval which contains both inputs.
Public method GetHashCode Computes the hash code for this Interval object. (Overrides ValueType.GetHashCode().)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method Grow Grows the Interval to include the given number.
Public method IncludesInterval(Interval) Tests another interval for Interval inclusion.
Public method IncludesInterval(Interval, Boolean) Tests another interval for Interval inclusion.
Public method IncludesParameter(Double) Tests a parameter for Interval inclusion.
Public method IncludesParameter(Double, Boolean) Tests a parameter for Interval inclusion.
Public method MakeIncreasing Ensures this Interval is either singleton or increasing.
Public method NormalizedIntervalAt Converts interval value, or pair of values, to normalized parameter.
Public method NormalizedParameterAt Converts interval value, or pair of values, to normalized parameter.
Public method ParameterAt Converts normalized parameter to interval value, or pair of values.
Public method ParameterIntervalAt Converts normalized parameter to interval value, or pair of values.
Public method Reverse Changes interval to [-T1, -T0].
Public method Swap Exchanges T0 and T1.
Public method ToString Returns a string representation of this Interval. (Overrides ValueType.ToString().)
  Back to Top

See Also

Reference

Interval Structure
Rhino.Geometry Namespace

⚠️ **GitHub.com Fallback** ⚠️