Skip to content

Conversation

@ianstormtaylor
Copy link

This adds a segment.part method for easily creating a new line segment that is a subset of an existing one. So for example to get the 2nd quarter you could do:

segment.part(0.25, 0.5)

Could also be called slice (or subset or section), let me know.

@ianstormtaylor ianstormtaylor changed the title add segment.part method Add segment.part method Jun 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant