| 1 |
\name{Polygon-class} |
| 2 |
\docType{class} |
| 3 |
\alias{Polygon-class} |
| 4 |
|
| 5 |
\title{Class "Polygon" } |
| 6 |
\description{ class for spatial polygon } |
| 7 |
\section{Objects from the Class}{ |
| 8 |
Objects can be created by calls to the function \code{Polygon} |
| 9 |
} |
| 10 |
\section{Slots}{ |
| 11 |
\describe{ |
| 12 |
\item{\code{ringDir}:}{Object of class \code{"integer"}; the ring direction of the ring (polygon) coordinates, holes are expected to be anti-clockwise } |
| 13 |
\item{\code{labpt}:}{Object of class \code{"numeric"}; an x, y coordinate pair forming the label point of the polygon } |
| 14 |
\item{\code{area}:}{Object of class \code{"numeric"}; the planar area of the polygon, does not respect projection as objects of this class have no projection defined } |
| 15 |
\item{\code{hole}:}{Object of class \code{"logical"}; does the polygon seem to be a hole } |
| 16 |
\item{\code{coords}:}{Object of class \code{"matrix"}; coordinates of the polygon; |
| 17 |
first point should equal the last point } |
| 18 |
} |
| 19 |
} |
| 20 |
\section{Extends}{ |
| 21 |
Class \code{"Line"}, directly. |
| 22 |
} |
| 23 |
\section{Methods}{ |
| 24 |
No methods defined with class "Polygon" in the signature. |
| 25 |
} |
| 26 |
\author{ Roger Bivand } |
| 27 |
|
| 28 |
\seealso{\link{Polygons-class}, \link{SpatialPolygons-class}} |
| 29 |
|
| 30 |
\keyword{classes} |