Creates a new interval, given its midpoint and width.

Declaration Syntax
| C# | Visual Basic | Visual C++ | F# |
Public Shared Function FromMidpointAndWidth ( _
midpoint As Double, _
width As Double _
) As Interval

Parameters
- midpoint (Double)
- The midpoint of the interval.
- width (Double)
- The width of the interval.

Return Value
The specified interval.
Assembly:
Meta.Numerics (Module: Meta.Numerics) Version: 2.0.0.0 (2.0.0.0)