powered by
Orient polygon coordinates
wk_orient(handleable, ..., direction = wk_counterclockwise())wk_orient_filter(handler, direction = wk_counterclockwise())wk_clockwise()wk_counterclockwise()
wk_orient_filter(handler, direction = wk_counterclockwise())
wk_clockwise()
wk_counterclockwise()
handleable with consistently oriented polygons, in direction
handleable
direction
winding order.
A geometry vector (e.g., wkb(), wkt(), xy(), rct(), or sf::st_sfc()) for which wk_handle() is defined.
wkb()
wkt()
xy()
rct()
sf::st_sfc()
wk_handle()
Passed to the wk_handle() method.
The winding polygon winding direction
A wk_handler object.
wk_orient(wkt("POLYGON ((0 0, 1 0, 1 1, 0 1, 0 0))")) wk_orient( wkt("POLYGON ((0 0, 0 1, 1 1, 1 0, 0 0))"), direction = wk_clockwise() )
Run the code above in your browser using DataLab