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

Add Neighbour (NB) to output #14

Open
davidcsterratt opened this issue Jun 24, 2019 · 1 comment
Open

Add Neighbour (NB) to output #14

davidcsterratt opened this issue Jun 24, 2019 · 1 comment

Comments

@davidcsterratt
Copy link
Owner

davidcsterratt commented Jun 24, 2019

As described in this PR #13

It is very useful to export the neighbor-relationship with the triangles.

I am trying to use the RTriangle Package in my PIHMgisR tool, that is a GIS-processing for Penn State Integrated Hydrologic Model (PIHM). After I build the triangle, it is necessary to define the neighbor-relationship among triangles for modeling.
I have my own code to build the topological relationship in R and C, but due to the algorithm, it is very time-consuming to build the relationship when the number of triangles become larger than larger. I notice the C version of the code already exports the neighbor-relationship, so it would be nice to update these two files and export the topological relationship explicitly.

@davidcsterratt
Copy link
Owner Author

I have committed the change. However, there are a couple of extra things needed:

  • Documentation
  • Fix output in tests, and ideally have new test for this

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