equals method
Leave feedback
On this page
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.
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.
These names call equals too, limited to the overloads listed.
| Alias | Accepts |
|---|---|
equals_point |
equals_point(item) |
equals_object |
equals_object(item) |
- class
Point
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.