Creates a new interval, given its midpoint and width.

Namespace:  Meta.Numerics
Assembly:  Meta.Numerics (in Meta.Numerics.dll) Version: 1.4.0.0 (1.4.0.0)

Syntax

         
 C#  Visual Basic  Visual C++ 
public static Interval FromMidpointAndWidth(
	double midpoint,
	double width
)
Public Shared Function FromMidpointAndWidth ( _
	midpoint As Double, _
	width As Double _
) As Interval
public:
static Interval FromMidpointAndWidth(
	double midpoint, 
	double width
)

Parameters

midpoint
Double
The midpoint of the interval.
width
Double
The width of the interval.

Return Value

The specified interval.

See Also