Point constructor

init

Initializes a new instance of the Point class.

def __init__(self, x, y):
    ...
Parameter Type Description
x float The x-coordinate.
y float The y-coordinate.

See Also