\HeaderA{aRTlayer-class}{Class "aRTlayer"}{aRTlayer.Rdash.class}
\aliasA{aRTlayer}{aRTlayer-class}{aRTlayer}
\aliasA{initialize,aRTlayer-method}{aRTlayer-class}{initialize,aRTlayer.Rdash.method}
\keyword{database}{aRTlayer-class}
\begin{Description}\relax
Class that represents a layer of information in the database. It can insert
geometries into the database, process them and create \code{aRTtable}, \code{aRTtheme} 
and \code{aRTquerier} objects.
TerraLib layers can stores various geometries in a layer, but in aRT, for simplify,
each layer stores only one type of geometry.
\end{Description}
\begin{Section}{Objects from the Class}
Objects can be created by calls of the form \code{new("aRTlayer", aRTdb, layername, proj)}.
\end{Section}
\begin{Section}{Slots}
\describe{
\item[\code{pointer}:] An external pointer. DO NOT change it!
}
\end{Section}
\begin{Section}{Extends}
Class \code{"aRTcomponent"}, directly.
\end{Section}
\begin{Section}{Methods}
\describe{
\item[initialize:] Initializer of aRTlayer class.
\item[showTables:] Shows all information tables in the layer
\item[addPoints:] Inserts points in the layer.
\item[addPolygons:] Inserts polygons (rings) in the layer.
\item[addLines:] Inserts lines in the layer.
\item[getGeometry:] Returns the geometries stored in the layer.
\item[getAttributes:] Returns the stored attributes.
\item[getMetric:] Returns a metric operations (buffer, length, area, convex hull).
\item[getSetMetric:] Calculates a set operation (union, difference, intersection, xor).
\item[getNN:] (not implemented yet)
\item[getRelation:] Looks for spatial relations as contains, crosses, touches.
\item[openTheme:] Opens an existent theme.
\item[createTheme:] Creates a new theme  and returns it.
}
\end{Section}
\begin{Author}\relax
Marcos Aurelio Carrero and Pedro Ribeiro de Andrade Neto
\end{Author}
\begin{References}\relax
\url{http://www.est.ufpr.br/aRT}
\end{References}
\begin{SeeAlso}\relax
See \code{aRTlayer-METHOD} for a method of this class or \code{CLASSNAME-class} for links to other classes.
\end{SeeAlso}

