You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When creating vectors using editable-layers, it might be usefull to be able to characterize the drawn geometry, or even to re-draw it. If it is easy to get back to the parameters of the geometry for squares or rectangle, for instance, it is much more expensive for circle and ellipses.
Thus, when a circle is created, its center and radius should be stored in the vector properties.
When an ellipse is created, we should store its center, its axis lengths, and the angle.
Proposal
We should just propagate the properties along all the methods, as they are already calculated. I will propose a PR.
Details
No response
The text was updated successfully, but these errors were encountered:
Target Use Case
When creating vectors using editable-layers, it might be usefull to be able to characterize the drawn geometry, or even to re-draw it. If it is easy to get back to the parameters of the geometry for squares or rectangle, for instance, it is much more expensive for circle and ellipses.
Thus, when a circle is created, its center and radius should be stored in the vector properties.
When an ellipse is created, we should store its center, its axis lengths, and the angle.
Proposal
We should just propagate the properties along all the methods, as they are already calculated. I will propose a PR.
Details
No response
The text was updated successfully, but these errors were encountered: