Skip to content

IPosition: Switch GetCoordinate() to Coordinate property#63

Open
dandeto wants to merge 1 commit intosibartlett:masterfrom
dandeto:master
Open

IPosition: Switch GetCoordinate() to Coordinate property#63
dandeto wants to merge 1 commit intosibartlett:masterfrom
dandeto:master

Conversation

@dandeto
Copy link
Copy Markdown

@dandeto dandeto commented Jun 25, 2025

This is a semantic change, so I completely understand if you don't want to accept this PR, but I adjusted the GetCoordinate() function to be a Coordinate property in IPosition as a quality-of-life adjustment. For example, the Point class already had this property and also had to implement the GetCoordinate() function to satisfy the interface. I prefer to use a Coordinate property rather than a function, but it's really up to the eye of the beholder if you think it's worth merging. Thanks for considering this submission!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant