# does not work with Fortran:
#useDynLib(tripack, .registration = TRUE, .fixes = "c_")
useDynLib(tripack)
# Export all names
export("add.constraint")
export("cells")
export("circles")
export("circumcircle")
export("circum")
export("convex.hull")
export("identify.tri")
export("in.convex.hull")
export("left")
export("neighbours")
export("on.convex.hull")
export("outer.convhull")
export("plot.tri")
export("plot.voronoi.polygons")
export("plot.voronoi")
export("print.summary.tri")
export("print.summary.voronoi")
export("print.tri")
export("print.voronoi")
export("summary.tri")
export("summary.voronoi")
export("triangles")
export("tri.dellens")
export("tri.find")
export("tri.mesh")
export("voronoi.area")
export("voronoi.findrejectsites")
export("voronoi.mosaic")
export("voronoi.polygons")

# S3 methods
S3method(plot, tri)
S3method(print, tri)
S3method(print, summary.tri)
S3method(summary, tri)
S3method(identify, tri)
S3method(plot, voronoi)
S3method(plot, voronoi.polygons)
S3method(print, voronoi)
S3method(print, summary.voronoi)
S3method(summary, voronoi)

importFrom("grDevices", "heat.colors")
importFrom("graphics", "hist", "identify", "lines", "par", "plot",
           "plot.new", "plot.window", "points", "polygon", "text",
           "title")
importFrom("stats", "dist")
importFrom("stats", "rnorm")
