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

Path and geometry handling #99

Open
3 tasks
ff6347 opened this issue Sep 26, 2016 · 3 comments
Open
3 tasks

Path and geometry handling #99

ff6347 opened this issue Sep 26, 2016 · 3 comments

Comments

@ff6347
Copy link
Member

ff6347 commented Sep 26, 2016

Some useful features for handling paths could be (suggested by @mariuswatz ):

  • getting all vertices (and LR direction handlers)
  • calculate centroid
  • is point inside
@ff6347
Copy link
Member Author

ff6347 commented Sep 26, 2016

What happens with compound paths?

@b-g
Copy link
Member

b-g commented Sep 26, 2016

An idea could be to use the same pattern as with words, lines etc.

pathpoints(obj, function(point){
  println(point);
})

It is a pity that we can't use normal ES5 js libs like turf.js for things like inside and centroid :(

@b-g
Copy link
Member

b-g commented Sep 26, 2016

Plz no support for super special stuff like compound paths ... very few people will use it, but lots of effort for implementing it.

@ff6347 ff6347 self-assigned this Nov 11, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants