Skip to contents

Bounded means no rays and no lineality; a union_region is bounded when all its parts() are.

Usage

is_bounded(space)

Arguments

space

A region.

Value

TRUE or FALSE.

Examples

is_bounded(simplex_region(vertices = diag(3)))
#> [1] TRUE
is_bounded(halfspace_region(normal = c(1, -1, 0)))
#> [1] FALSE