Closed jlurien closed 1 year ago
Did same work for the raw location and seems were aligned - good if you can take a look to make sure about this alignment.
3 minor requests for your consideration:
- Instead of
type
I renamed the attribute asareaType
OK, indeed I was already considering this name, just in case we have for example some codeType
or similar in the future.
- Instead of
location
(line 126) could we usecenter
as we describe a circle.- For same reason instead of
accuracy
could we rename the attributeradius
.
Modelling areas as geometrical figures, it could make sense. Originally it was meant to represent an specific target point with some accuracy, which could be understood as the device more likely to be close to the center. If we add other type of areas, as code areas, is just another area.
I will ask internally for other opinions.
This more explicit for the API consumer.
@bigludo7 I have renamed the Area and Circle properties with your suggestions
What type of PR is this?
What this PR does / why we need it:
Which issue(s) this PR fixes:
Fixes #72
Special notes for reviewers:
type moved to base class
Changelog input
n/a
Additional documentation
n/a