Click or drag to resize
RectHV Constructor
Initializes a new rectangle [Xmin, Xmax] x [Ymin, Ymax].

Namespace: Algs4Net
Assembly: Algs4Net (in Algs4Net.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public RectHV(
	double xmin,
	double ymin,
	double xmax,
	double ymax
)

Parameters

xmin
Type: SystemDouble
the X-coordinate of the lower-left endpoint
ymin
Type: SystemDouble
the Y-coordinate of the lower-left endpoint
xmax
Type: SystemDouble
the X-coordinate of the upper-right endpoint
ymax
Type: SystemDouble
the Y-coordinate of the upper-right endpoint
Exceptions
ExceptionCondition
ArgumentExceptionif any of xmin, xmax, ymin, or ymax is double.NaN.
ArgumentExceptionif xmax < xmin or ymax < ymin.
See Also