maxPerpChord | R Documentation |
Find the longest perpendicular chord within a polygon
maxPerpChord(x, chord = maxChord(x), theta = pi/2)
x |
st_POLYGON |
st_LINESTRING
crd <- matrix(c(0, 0, 0.5, 1, 1, 0, 0, 1, 1.5, 1, 0, 0), ncol = 2)
poly <- st_polygon(list(crd))
maxPerpChord(poly)
maxPerpChord(poly, theta = pi/3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.