lawn_boolean_pointonline: Boolean overlap

Description Usage Arguments Value See Also Examples

View source: R/boolean_pointonline.R

Description

Boolean overlap

Usage

1
2
3
4
5
6
lawn_boolean_pointonline(
  point,
  linestring,
  ignoreEndVertices = FALSE,
  lint = FALSE
)

Arguments

point

any data-Geometry/data-Feature data-Point

linestring

any data-Geometry/data-Feature data-LineString

ignoreEndVertices

(logical) whether to ignore the start and end vertices. Default: 'FALSE

lint

(logical) Lint or not. Uses geojsonhint. Takes up increasing time as the object to get linted increases in size, so probably use by default for small objects, but not for large if you know they are good geojson objects. Default: FALSE

Value

a logical (TRUE/FALSE)

See Also

Other boolean functions: lawn_boolean_clockwise(), lawn_boolean_contains(), lawn_boolean_crosses(), lawn_boolean_disjoint(), lawn_boolean_overlap(), lawn_boolean_within()

Examples

1
2
l1 <- "[[-1, -1],[1, 1],[1.5, 2.2]]"
lawn_boolean_pointonline(lawn_point("[0, 0]"), lawn_linestring(l1))

lawn documentation built on Jan. 6, 2021, 5:07 p.m.