2010-01-04 83 views

回答

2

如果您PolygonSpatialPolygons打开帮助页面(其实并不重要,它会引导你到相同的页面),您可以点击SpatialPolygons-classPolygons-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 
相关问题