gpc.poly.nohole-class {gpclib} | R Documentation |
A class for representing polygons with multiple contours but without holes.
Objects can be created by calls of the form
‘new("gpc.poly.nohole", ...) or by calling read.polyfile
’.
Object of class “list”. See the help for “gpc.poly” for details.
Class “gpc.poly”, directly.
signature(from = "numeric", to = "gpc.poly.nohole")
: ...
This class is identical to “"gpc.poly"” and is needed because the file formats for polygons without holes is slightly different from the file format for polygons with holes. For a “gpc.poly.nohole” object, the
holeflag for each contour is always
FALSE
.
Also, write.polyfile
will write the correct file format,
depending on whether the object is of class “gpc.poly” or
“gpc.poly.nohole”.
Roger D. Peng
## None