## load shared library
useDynLib(interp)

## exports
export("ConvexHull")
export("aspline")
export("aSpline")
export("bilinear")
export("BiLinear")
export("bilinear.grid")
export("BiLinear.grid")
export("bicubic")
export("bicubic.grid")
export("interp")
export("interpp")
export("interp2xyz")
export("franke.fn")
export("franke.data")
export("locpoly")
export("nearest.neighbours")
export("tri.mesh")
export("plot.triSht")
export("print.triSht")
export("triangles")
export("tri.find")
export("arcs")
export("circles")
export("circum")
export("circumcircle")
export("area")
export("voronoi.mosaic")
export("print.voronoi")
export("plot.voronoi")
export("voronoi.area")
export("voronoi.findrejectsites")
export("voronoi.polygons")
export("plot.voronoi.polygons")
export("convex.hull")
export("left")
export("on")
export("cells")
export("neighbours")
export("in.convex.hull")
export("on.convex.hull")
export("outer.convhull")
export("identify.triSht")
export("summary.triSht")
export("triSht2tri")
export("print.summary.triSht")
export("summary.voronoi")
export("print.summary.voronoi")

## imports

importFrom("Rcpp", "evalCpp")
importFrom("deldir", "deldir")
importFrom("deldir", "triang.list")
#importFrom("sp","coordinates")
#importFrom("sp","coordinates<-")
#importFrom("sp","gridded<-")
importFrom("stats", "median", "dist")
importFrom("graphics", "hist", "plot", "segments", "text", "polygon")
importFrom("graphics", "identify", "lines", "plot.new", "plot.window",
           "points", "title", "par")
importFrom("grDevices", "heat.colors")
importFrom("grDevices", "xy.coords")
## S3 methods
S3method("plot", "triSht")
S3method("print", "triSht")
S3method("print", "summary.triSht")
S3method("summary", "triSht")
S3method("identify", "triSht")
S3method("plot", "voronoi")
S3method("print", "voronoi")
S3method("print", "summary.voronoi")
S3method("summary", "voronoi")
S3method("plot", "voronoi.polygons")
