M_Rhino_Geometry_Interval_op_Subtraction - mcneel/rhinocommon-api-docs GitHub Wiki

Interval.Subtraction Operator (Interval, Double)

Shifts an interval by a specific amount (subtraction).

Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0

Syntax

C#

public static Interval operator -(
	Interval interval,
	double number
)

VB

Public Shared Operator - ( 
	interval As Interval,
	number As Double
) As Interval

Parameters

 

interval
Type: Rhino.Geometry.Interval
The base interval (minuend).
number
Type: System.Double
The shifting value to be subtracted (subtrahend).

Return Value

Type: Interval
A new interval with [T0-number, T1-number].

Version Information

Supported in: 6.0.16224.21491, 5D58w

See Also

Reference

Interval Structure
Subtraction Overload
Rhino.Geometry Namespace

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