Skip to content

Interval.Subtraction (Double, Interval)

Public Operator

Shifts an interval by a specific amount (subtraction).

Namespace: Rhino.Geometry

Assembly: RhinoCommon (in RhinoCommon.dll)

**Since:**5.0

Syntax

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

Parameters

number

Type:System.Double
The shifting value to subtract from (minuend).

interval

Type: Rhino.Geometry.Interval
The interval to be subtracted from (subtrahend).

Return Value

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