Skip to content
This repository has been archived by the owner on Nov 18, 2022. It is now read-only.

Node set/get position #51

Merged
merged 2 commits into from
Jan 25, 2022
Merged

Node set/get position #51

merged 2 commits into from
Jan 25, 2022

Conversation

flo-dup
Copy link
Contributor

@flo-dup flo-dup commented Jan 25, 2022

Please check if the PR fulfills these requirements

  • The commit message follows our guidelines
  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)

Does this PR already have an issue describing the problem ?
No

What kind of change does this PR introduce?
Design fix

What is the current behavior?
Point parameters are not final and therefore special care (cloning) is needed when returning a Point

What is the new behavior (if this is a feature change)?
Point parameters are final and therefore Node::getPosition, Node::setPosition(point) methods have been added.

Does this PR introduce a breaking change or deprecate an API?
No

Signed-off-by: Florian Dupuy <florian.dupuy@rte-france.com>
Signed-off-by: Florian Dupuy <florian.dupuy@rte-france.com>
@flo-dup flo-dup changed the title Get position Node set/get position Jan 25, 2022
@flo-dup flo-dup merged commit f453b6a into main Jan 25, 2022
@flo-dup flo-dup deleted the get_position branch January 25, 2022 16:38
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant