Completely contained should be thought of as "uniform" containment.

contained(x, y, .lower_simplex_project = TRUE)

# S3 method for delta_ball_structure
contained(x, y, .lower_simplex_project = TRUE)

# S3 method for convex_hull_structure
contained(x, y, .lower_simplex_project = TRUE)

Arguments

x

assumed to either convex_hull_structure or delta_ball_structure objects

y

data.frame with filament represented in it

.lower_simplex_project

boolean, if y should be projected to a simplex and then to the lower dimensional simplex (that x probably was). For this package, this should always be done.

Value

boolean if y is contained in x