## load shared library
useDynLib(interp)

## exports
export("interp")
export("interpp")
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("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("in.convex.hull")
export("on.convex.hull")
export("outer.convhull")
export("identify.triSht")
export("summary.triSht")
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")
importFrom("graphics", "hist", "plot", "segments", "text", "polygon")
importFrom("graphics", "identify", "lines", "plot.new", "plot.window",
           "points", "title")
importFrom("grDevices","heat.colors")
## 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")
