Description Usage Arguments Value Examples
View source: R/PolygonAngles.R
PolygonAngles
computes each of the existing angles in a given polygon
1 | PolygonAngles(Poly)
|
Poly |
Polygon object, previously created with function |
Returns a vector containing the angles for each of the points of a polygon. The resulting vector follows the order of the points in the defined polygon
1 2 3 4 5 | P1 <- c(0,0)
P2 <- c(1,1)
P3 <- c(2,0)
Poly <- CreatePolygon(P1, P2, P3)
angles <- PolygonAngles(Poly)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.