Skip to content

Interval.Addition (Double, Interval)

Public Operator

Shifts an interval by a specific amount (addition).

Namespace: Rhino.Geometry

Assembly: RhinoCommon (in RhinoCommon.dll)

Syntax

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

Parameters

number

Type:System.Double
The shifting value.

interval

Type: Rhino.Geometry.Interval
The interval to be used as a base.

Return Value

Type: Interval
A new interval where T0 and T1 are summed with number.