0

我想知道 Spatialpolygons 类的对象与 Polygons 类的对象有哪些信息。

4

1 回答 1

2

Polygon如果你打开或的帮助页面SpatialPolygons(没关系,它会引导你到同一个页面),你可以点击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 
于 2010-10-06T09:27:01.393 回答