Point2D constructor

init

Constructs a new instance of Point2D

def __init__(self):
    ...

init

Initializes a new instance of the Point2D class.

def __init__(self, x, y):
    ...
ParameterTypeDescription
xfloatThe x ordinate.
yfloatThe y ordinate.

See Also