lawn_boolean_clockwise: Boolean clockwise

Description Usage Arguments Value See Also Examples

View source: R/boolean_clockwise.R

Description

Boolean clockwise

Usage

1

Arguments

line

line data-Feature<(data-LineString)>

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_contains(), lawn_boolean_crosses(), lawn_boolean_disjoint(), lawn_boolean_overlap(), lawn_boolean_pointonline(), lawn_boolean_within()

Examples

1
2
3
4
l1 <- '[[0,0],[1,1],[1,0],[0,0]]'
l2 <- '[[0,0],[1,0],[1,1],[0,0]]'
lawn_boolean_clockwise(lawn_linestring(l1))
lawn_boolean_clockwise(lawn_linestring(l2))

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