\HeaderA{SpatialPixels-class}{Class "SpatialPixels" ~~~}{SpatialPixels.Rdash.class}
\aliasA{coerce,SpatialPixels,SpatialGrid-method}{SpatialPixels-class}{coerce,SpatialPixels,SpatialGrid.Rdash.method}
\aliasA{print.summary.SpatialPixels}{SpatialPixels-class}{print.summary.SpatialPixels}
\aliasA{summary.SpatialPixels}{SpatialPixels-class}{summary.SpatialPixels}
\aliasA{[,SpatialPixels-method}{SpatialPixels-class}{[,SpatialPixels.Rdash.method}
\keyword{classes}{SpatialPixels-class}
\begin{Description}\relax
class for defining a pixels, forming a
possibly incomplete rectangular grid of arbitrary dimension
\end{Description}
\begin{Section}{Objects from the Class}
Objects are created by using e.g. 

SpatialPixels(points)

with points of class \LinkA{SpatialPoints-class}{SpatialPoints.Rdash.class}
\end{Section}
\begin{Section}{Slots}
\describe{
\item[\code{grid}] object of class \LinkA{GridTopology-class}{GridTopology.Rdash.class}, defining the
grid topology (offset, cellsize, dim) 
\item[\code{grid.index}] integer; index of points in full grid
\item[\code{coords}] coordinates of points, or bbox of grid 
\item[\code{bbox}:] Object of class \code{"matrix"}; bounding box 
\item[\code{proj4string}:] Object of class \code{"CRS"}; projection  
}
\end{Section}
\begin{Section}{Extends}
Class \code{"SpatialPoints"} directly;
Class \code{"Spatial"}, by class \code{"SpatialPoints"}.
\end{Section}
\begin{Section}{Methods}
\describe{
\item[coordinates] \code{signature(x = "SpatialPixels")}: calculates coordinates for
each point on the grid; coordinates are not stored in objects of class SpatialGrid
\item[summary] \code{signature(x = "SpatialPixels")}: gives summary
\item[plot] \code{signature(x = "SpatialPixels")}: plots cell centers 
\item["["] \code{signature(x = "SpatialPixels")}: select pixel cells
}
\end{Section}
\begin{Note}\relax
\end{Note}
\begin{Author}\relax
Edzer J. Pebesma, \email{e.pebesma@geo.uu.nl}
\end{Author}
\begin{References}\relax
\end{References}
\begin{SeeAlso}\relax
\code{\LinkA{SpatialPixelsDataFrame-class}{SpatialPixelsDataFrame.Rdash.class}}, \code{\LinkA{SpatialGrid-class}{SpatialGrid.Rdash.class}}
\end{SeeAlso}
\begin{Examples}
\begin{ExampleCode}
data(meuse.grid)
pts = meuse.grid[c("x", "y")]
y = SpatialPixels(SpatialPoints(pts))
class(y)
y
summary(y)
plot(y)
\end{ExampleCode}
\end{Examples}

