equals method

On this page

equals

Compares coordinates with another point.

def equals(self, item):
    ...
Parameter Type Description
item Point The point to compare with.

Returns: bool: True when both coordinates match; otherwise False.

equals

Compares this point with another object.

def equals(self, item):
    ...
Parameter Type Description
item Any The object to compare with.

Returns: True when item is a matching Point; otherwise False.

Aliases

These names call equals too, limited to the overloads listed.

Alias Accepts
equals_point equals_point(item)
equals_object equals_object(item)

See Also

On this page