Skip to contents

Function for calculating the minimum and maximum angles between two intersecting sf MULTILINESTRING or LINESTRING objects.

Usage

polyg_angles(input1, input2)

Arguments

input1

object of class sf or sfc of type LINESTRING or MULTILINESTRING.

input2

object of class sf or sfc of type LINESTRING or MULTILINESTRING.

Value

An sf object equivalent to input1 with added columns containing minimum and maximum angles.