Package 'clipper'

Title: Another Port of Angus Johnson's 'clipper' Polygon Clipping Library
Description: Another Port of Angus Johnson's 'clipper' Polygon Clipping Library.
Authors: Mark Padgham [aut, cre], Angus Johnson [cph] (Original author of included code for polygon clipping)
Maintainer: Mark Padgham <[email protected]>
License: GPL-3
Version: 0.0.0.1
Built: 2024-12-05 04:56:58 UTC
Source: https://github.com/hypertidy/clipper

Help Index


castlemaine

Description

'Silicate' ('SC') format street network data for Castlemaine, Australia.

Format

List of data.frame objects representing different components of the street network


castlemaine_green

Description

Polygons of all green spaces in Castlemaine, Australia

Format

sf-format data.frame of green space polygons


clipper

Description

Another Port of Angus Johnson's 'clipper' Polygon Clipping Library.


path_through_poly

Description

Relative length of path that passes through polygons

Usage

path_through_poly(path, polys)

Arguments

path

A data.frame with x and y columns denoting sequential coordinates of a path.

polys

A list of data.frame objects, each of which has coordinates labelled x and y tracing a closed polygon.

Value

Single value quantifying the total relative length of the input path that passes through the polygons