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

as.mesh3d for spatials #159

Open
2 of 3 tasks
mdsumner opened this issue Oct 15, 2021 · 1 comment
Open
2 of 3 tasks

as.mesh3d for spatials #159

mdsumner opened this issue Oct 15, 2021 · 1 comment

Comments

@mdsumner
Copy link
Member

mdsumner commented Oct 15, 2021

currently we have

as.mesh3d.sfc <-function(x, ...

  as.mesh3d(TRI0(x),

but, that was a mistake. It needs to stick to the silicate way, and allow the new mesh3d types ie.

points = for POINT
segments = M/LINESTRING, M/POLYGON

in rare cases there'll be SF triangles but that stuff's not fully fleshed out in silicate. Otherwise, you can push sf through SC0/TRI0/DEL0 for the obvious (re)interpretations.

Qs

  • do we bother with as.mesh3d.sfc_POINT - ah, no SC0 already handles to just palm off to that
  • update as.mesh3d.SC0 and it's mostly done
  • make sure consistency (polygons are lines) throughout
@mdsumner
Copy link
Member Author

that was pretty easy

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