Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature requrest: Simplify origin to {0,0} wherever possible #1

Open
CSchoel opened this issue Dec 1, 2020 · 0 comments
Open

Feature requrest: Simplify origin to {0,0} wherever possible #1

CSchoel opened this issue Dec 1, 2020 · 0 comments

Comments

@CSchoel
Copy link
Member

CSchoel commented Dec 1, 2020

The parameter origin is only needed if it is used together with a rotation, otherwise we can set origin to {0,0} and add the old origin to all points in extent and points.

This would avoid awkward definitions such as

Line(
  origin= {-100,2145.04},
  points= {{100.05, -2159.81}, {100.05, -2135.89}},
  thickness= 0.5
)
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

No branches or pull requests

1 participant