Skip to content

allow contracting segment by different ratio on each side #113

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

Open
ianstormtaylor opened this issue Jun 2, 2022 · 0 comments
Open

allow contracting segment by different ratio on each side #113

ianstormtaylor opened this issue Jun 2, 2022 · 0 comments

Comments

@ianstormtaylor
Copy link

Right now you can do:

segment.contract(0.25)

But it would be nice to be able to specify the contraction ratio for both the start and end points differently:

segment.contract(0.1, 0.4)

With the default being the same for both.

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

No branches or pull requests

1 participant