Interval.FromMidpointAndWidth Method
Click or drag to resize

IntervalFromMidpointAndWidth Method

Creates a new interval, given its midpoint and width.

Namespace:  Meta.Numerics
Assembly:  Meta.Numerics (in Meta.Numerics.dll) Version: 4.0.5.0 (4.0.5.0)
Syntax
public static Interval FromMidpointAndWidth(
	double midpoint,
	double width
)

Parameters

midpoint
Type: SystemDouble
The midpoint of the interval.
width
Type: SystemDouble
The width of the interval.

Return Value

Type: Interval
The specified interval.
See Also