Skip to content

Interval.Subtraction (Interval, Double)

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 -(
Interval interval,
double number
)

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].