Properties_T_Rhino_Geometry_Interval - mcneel/rhinocommon-api-docs GitHub Wiki

Interval Properties

The Interval type exposes the following members.

Properties

 

Name Description
Public property IsDecreasing Returns true if T[0] > T[1].
Public property IsIncreasing Returns true if T0 < T1.
Public property IsSingleton Returns true if T0 == T1 != ON.UnsetValue.
Public property IsValid Gets a value indicating whether or not this Interval is valid. Valid intervals must contain valid numbers.
Public property Item Gets or sets the indexed bound of this Interval.
Public property Length Gets the signed length of the numeric range. If the interval is decreasing, a negative length will be returned.
Public property Max Gets the larger of T0 and T1.
Public propertyCode example Mid Gets the average of T0 and T1.
Public property Min Gets the smaller of T0 and T1.
Public property T0 Gets or sets the lower bound of the Interval.
Public property T1 Gets or sets the upper bound of the Interval.
Public propertyStatic member Unset Gets an Interval whose limits are RhinoMath.UnsetValue.
  Back to Top

See Also

Reference

Interval Structure
Rhino.Geometry Namespace

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