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

Explore implications of path/ring origin and bridge segments #2

Open
mdsumner opened this issue Feb 24, 2018 · 1 comment
Open

Explore implications of path/ring origin and bridge segments #2

mdsumner opened this issue Feb 24, 2018 · 1 comment

Comments

@mdsumner
Copy link
Member

mdsumner commented Feb 24, 2018

There's a bit of this in the vignette. Had a conversation with a colleague and we'd both thought "hmm, which triangulations end up the same from which kinds of starting variants" - and agreed it's probably a crazy thought and a massive can of worms.

@mdsumner
Copy link
Member Author

see discussion here on the bridge ambiguity Decido Earcut Hole Index Is First Vertex of Hole .

There was a "bridge" example that used to used to confuse me, it's not this but might trigger ideas when I come back to this:

x <- c(0, 0, 0.75, 1, 0.5, 0.8, 0.69,
       0.2, 0.5, 0.5, 0.3, 0.2,
       0.15, 0.23, 0.2)
y <- c(0, 1, 1, 0.8, 0.7, 0.6, 0,
       0.2, 0.2, 0.4, 0.6, 0.4,
       0.65, 0.65, 0.81)
d <- data.frame(x = x, y = y, group = rep(1:3, c(7, 5, 3)))[c(1:7, 1, 8:12, 8, 13:15, 13), ]

library(ggplot2)
ggplot(d) + geom_polygon(aes(x, y, group = group, colour = factor(group), fill = group))

image

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