Algs4Net Class Library Documentation
Algs4Net Class Library Documentation
Algs4Net
Point2D Class
Point2D Constructor
Point2D Properties
Point2D Methods
Point2D Fields
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#
Copy
public
Point2D
(
double
x
,
double
y
)
Parameters
x
Type:
System
Double
the x-coordinate
y
Type:
System
Double
the y-coordinate
Exceptions
Exception
Condition
ArgumentException
if either
x
or
y
is
double.NaN
,
double.PositiveInfinity
or
double.NegativeInfinity
See Also
Reference
Point2D Class
Algs4Net Namespace