./geography/R-deldir, Delaunay Triangulation and Dirichlet (Voronoi) Tessellation

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 1.0.9, Package name: R-deldir-1.0.9, Maintainer: pkgsrc-users

Calculates the Delaunay triangulation and the Dirichlet or Voronoi
tessellation (with respect to the entire plane) of a planar point set.
Plots triangulations and tessellations in various ways. Clips
tessellations to sub-windows. Calculates perimeters of tessellations.


Master sites: (Expand)


Version history: (Expand)


CVS history: (Expand)


   2023-06-15 13:20:45 by Makoto Fujiwara | Files touched by this commit (2)
Log message:
(geography/R-deldir) Updated 1.0.6 to 1.0.9

 Version 1.0-9 17/05/2023

 Got rid of a spurious file tile.list.R that I had saved as a backup
 in the Deldir directory.  Psigh!!!

 Version 1.0-8 30/04/2023

 Added argument "id" to deldir(), allowing the user to specify a
 vector of identifiers/names for points.  Added at the request of
 Jiangyao Chi.

 In view of the foregoing, the identifiers of points need no longer
 be numeric indices, whence some of the terminology in plot.deldir()
 and plot.tile.list() was no longer appropriate.  Consequently:

    * changed name of argument "number" to "labelPts" in
      plot.deldir() and in plot.tile.list().

    * changed name of argument "nex" to "lex" in plot.deldir().

    * changed the name of the 4th component of the argument cmpnt_col
      in plot.deldir() from "num" to "labels".

 Added function getNbrs() to list the Delaunay neighbours of
 each point.  Added at the request of Jiangyao Chi.

 Added functions insidePoly() and insideRect() to determine
 whether points are inside an "interior" region which
 may be specified either as a polygon or a rectangle.  In
 the latter case the interior must be a subset of "rw",
 the rectangular window with respect to which the points
 are being triangulated/tessellated.

 Added the results of a call to getNbrs() to the output of
 tileInfo();  adjusted print.tileInfo() accordingly.

 Fixed a mild glitch in plot.tile.list(); the returned value
 was NULL if clipp was unspecified.  Corrected the help for
 plot.tile.list() which had said that the returned value was
 always null.

 Tidied the code of plot.tile.list() a bit.  Amended the help
 for plot.tile.list().

 Adjusted message in First.R.

 Version 1.0-7 26/12/2021

 The function tileInfo() threw an opaque error if all tiles
 were boundary tiles.  Added an error trap so as to produce
 a more perspicuous error message.  Thanks to Krisztina Konya
 of Ruhr-University Bochum who provided an example illustrating
 the need for this error trap.
   2022-05-02 14:26:27 by Makoto Fujiwara | Files touched by this commit (2)
Log message:
(geography/R-deldir) Updated 0.1.28 to 1.0.6, make test passed

 Version 1.0-6 23/10/2021

 Fixed a bug that kept deldir() from working when "x" is a
 point pattern.

 Version 1.0-5 10/10/2021

 Changed the protocol for "digging out" x and y, and
 "digging out" z.  The rule now is: if the specified argument
 is found (located in the global environment, or given explicitly)
 then *use* it!  Only if it is *not* found elsewhere should it be
 sought in the "x" argument.  (This change was implemented after
 Duncan Murdoch convinced me to see the error of my previous ways.)

 Adjusted/corrected the processing of generic lists, as the x
 argument, in deldir()

 Re-wrote the discussion of the argument processing protocol in
 deldir.Rd, so as to make it properly reflect the current behaviour
 of the function.  It is also hoped that the clarity of the
 discussion has been improved.

 Fixed various glitches and typos in the code and the help files.

 Version 1.0-4 06/10/2021

 Fixed more bugs in deldir() w.r.t. argument processing, again
 pointed out to me by Duncan Murdoch.

 Fixed a bug in triang.list(); it crashed if there were not
 any actual triangles in the "triangulation"!

 Made an adjustment to plot.triang.list() (added an argument to
 specify a colour for the enclosing rectangle.

 Version 1.0-3 06/10/2021

 Fixed bug in deldir() (more explicitly in digOutz()) that
 was pointed out to me by Duncan Murdoch.

 Version 1.0-2 05/10/2021

 Adjusted plot.deldir() so that it no longer insists that cmpnt_lty
 be numeric, but also allows (as it should) the text strings "solid",
 "dashed", "dotted", "dotdash", \ 
"longdash", and "twodash".

 Version 1.0-1 30/09/2021

 Modified deldir() so that if argument "x" is a data frame it is
 *NOT* required to have columns named "x" and "y".  If there \ 
is no
 column named "x", the x-coordinates are taken to be the *first*
 column named neither "y" nor "z".  Likewise if there is no \ 
column
 named "y", the y-coordinates are taken to be the *first* column
 that is named neither "x" nor "z" and is not equal to the column
 previously selected to be the x-coordinates.

 Also modified deldir() so that the "x" argument is allowed to be
 a matrix.  The same convention that was used when "x" is a data
 frame is applied.

 This modification was made in response to an observation made by
 Jakob Bossek and makes use of a suggestion from Duncan Murdoch.

 Version 1.0-0 27/09/2021

 Removed/eliminated all traces of the (basically useless) facility
 for incorporating dummy points into the triangulation/tessellation.
 This facility was a historical artefact that had hung around much
 too long.

 Made an adjustment to plot.tile.list(); it no longer throws an
 error if the border argument is of length greater than 1; it now
 simply uses the first entry.

 29/09/2021

 Ran the *.Rd files through ispell and found and corrected an
 embarrassing number of errors.  Did not increment the version
 number.

 Version 0.2-13 26/09/2021

 Made some adjustments to the syntax of deldir() to accommodate
 problems encountered with finding the "z" argument.

 Changed the position of "z" in the argument list (to follow "x"
 and "y").

 Got rid of the message being issued on the first call, and the
 suppressMessage argument.

 Version 0.2-12 28/05/2021

 Adjusted the application of "\dontrun{...}" in the help files,
 eliminating its unnecessary application in some instances, and
 replacinng it by "\donttest{...}" in one instance.

 Version 0.2-11 12/05/2021

 Changed the terminology in the help and code comments so as to
 refer to the entries of the "z" argument as "tags" and not
 as "weights".  The latter term is misleading.

 Adjusted divchain() so as not to insist that the "z" argument
 be a factor.  It may now be a factor or a vector of any mode.
 If is not a factor then it is coerced into one.

 Added a "tags" component to the list returned by lawSummary().
 (This was instigated by an enquiry from Art Stock.)

 Version 0.2-10 09/02/2021

 Added the cvt() (Centroidal Voronoi Tiles) function at the
 request of MichaƩl Aupetit.

 Amended deldir() so that the returned object has attributes
 "round" (TRUE if argument "round" was TRUE) and \ 
"digits"
 (equal to the value of argument "digits" if "round" is TRUE,
 equal to NA otherwise.)

 Made some adjustments to the help for deldir() and plot.tile.list().

 Changed the name of Vol.Tri.Points to volTriPoints, so as to make
 it more consistent with my usual naming conventions.

 Added the "\version" macro.

 10/02/2021
 Made some adjustments to the help for cvt().

 16/02/2021
 Submitted to CRAN

 Version 0.2-9 16/01/2021

 Fixed (???) a bug in doClip() revealed by reverse-dependent package
 visualFields.  My logic (using almost.match()) was completely out
 to luntch.  Got rid of almost.match() and introduced a new function
 findNewInOld() which I *think* does things right.

 Adjusted tile.list() so that when it clipps tiles it checks for
 the availability of the polyclip package (and throws an error if
 this package is not available).

 Adjusted the help for plot.tile.list(), doing the same
 re-arrangement of plotting colours in one of the examples, as is
 used in the help for tilePerim().  The re-arrangement serves to
 produce better contrasts between contiguous tiles.
   2021-10-26 12:45:18 by Nia Alarie | Files touched by this commit (108)
Log message:
geography: Replace RMD160 checksums with BLAKE2s checksums

All checksums have been double-checked against existing RMD160 and
SHA512 hashes
   2021-10-07 16:09:33 by Nia Alarie | Files touched by this commit (108)
Log message:
geography: Remove SHA1 hashes for distfiles
   2020-08-10 10:54:59 by Makoto Fujiwara | Files touched by this commit (2)
Log message:
(geography/R-deldir) Updated 0.1.28

 Version 0.1-28

 Removed a browser() call that I'd left lying around in deldir().
  Grrrrrr!!!!

 15/07/2020
   2020-08-09 18:38:53 by Brook Milligan | Files touched by this commit (1)
Log message:
geography/R-deldir: remove MASTER_SITES

MASTER_SITES is defined in math/R/Makefile.extension, which should be
included by all R packages.  Therefore, MASTER_SITES should not normally
be defined in the Makefile for an R package.
   2020-08-07 02:20:08 by Brook Milligan | Files touched by this commit (3)
Log message:
geography/R-deldir: import R-deldir-0.1.25

Calculates the Delaunay triangulation and the Dirichlet or Voronoi
tessellation (with respect to the entire plane) of a planar point set.
Plots triangulations and tessellations in various ways.  Clips
tessellations to sub-windows. Calculates perimeters of tessellations.