Если вы открываете справочные страницы для Polygon
или SpatialPolygons
(на самом деле это не имеет значения, вы попадете на ту же страницу), вы можете нажать на ссылки SpatialPolygons-class
и Polygons-class
. Там вы можете увидеть, какие слоты содержит каждый класс.
Polygon-class
в качестве примера:
Slots
ringDir:
Object of class "integer"; the ring direction of the ring (polygon) coordinates, holes are expected to be anti-clockwise
labpt:
Object of class "numeric"; an x, y coordinate pair forming the label point of the polygon
area:
Object of class "numeric"; the area of the polygon
hole:
Object of class "logical"; does the polygon seem to be a hole
coords:
Object of class "matrix"; coordinates of the polygon; first point should equal the last point