-
Notifications
You must be signed in to change notification settings - Fork 8
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
Make behaviour of convhulln() and delaunayn() consistent #29
Milestone
Comments
davidcsterratt
added a commit
that referenced
this issue
Feb 8, 2019
Make delaunayn respond to Fa and Fn options, outputting areas and neighbours.
In 0.4.0 there is no message or warning; messages and then warnings will be added in future versions of geometry. |
davidcsterratt
added a commit
that referenced
this issue
Feb 17, 2019
There was a problem with replacing full by suggesting using "FA Fn" for options in delaunayn, since this got rid of the default options, which could lead to unrpedictable results. The new solution is to make a new output.options argument to delaunayn() and convhulln(). This takes Qhull options, but can also be set to TRUE to specify all possible output options.
davidcsterratt
added a commit
that referenced
this issue
Feb 17, 2019
These functions now always return a qhull attribute called convhulln or delaunayn. Before the names were convhull and delaynayTriangulation.
davidcsterratt
added a commit
that referenced
this issue
Feb 1, 2023
davidcsterratt
added a commit
that referenced
this issue
Feb 1, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In the current version of the package, the behaviour of
convhulln()
anddelaunayn()
differ:convhulln()
: If the Qhull optionsn
orFA
are included in theoptions
string, returns a list. Otherwise return a matrix.delaunayn()
: If thefull
option is supplied return theareas
andneighbours
of each simplex.It would be good to normalise the behaviour by removing the
full
option fromdelaunayn
and only outputting a list when options such asFa
andFn
are specified. The only call todelaunayn
with thefull
option isdelaunayn(as.matrix(data), options="Fa Fn", full=T)
in therestlos
package.Thus the proposal is:
delaunayn
respond toFa
andFn
options, outputtingareas
andneighbours
full
, producing a WARNINGThe text was updated successfully, but these errors were encountered: