Click or drag to resize
Point2D Constructor
Initializes a new point (x, y).

Namespace: Algs4Net
Assembly: Algs4Net (in Algs4Net.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public Point2D(
	double x,
	double y
)

Parameters

x
Type: SystemDouble
the x-coordinate
y
Type: SystemDouble
the y-coordinate
Exceptions
ExceptionCondition
ArgumentExceptionif either x or y is double.NaN, double.PositiveInfinity or double.NegativeInfinity
See Also