R/on.convex.hull.R

Defines functions on.convex.hull

Documented in on.convex.hull

on.convex.hull<-function(tri.obj,x,y,eps=1E-16)
{
  if(!inherits(tri.obj,"triSht"))
    stop("tri.obj must be of class \"triSht\"")
  if(length(x)!=length(y))
    stop("x and y must be of same length")
  n<-length(x)
  if(n==0)
    stop("length of x (resp. y) is 0")
  onhull <- onHull(tri.obj,x,y,eps)
  onhull
}

Try the interp package in your browser

Any scripts or data that you put into this service are public.

interp documentation built on May 29, 2024, 8:03 a.m.