1 \name{gpc.poly.nohole-class}
3 \alias{gpc.poly.nohole-class}
4 \alias{coerce,numeric,gpc.poly.nohole-method}
6 \title{Class "gpc.poly.nohole"}
8 A class for representing polygons with multiple contours but without
11 \section{Objects from the Class}{
12 Objects can be created by calls of the form
13 \code{new("gpc.poly.nohole", ...) or by calling \code{read.polyfile}}.
17 \item{\code{pts}:}{Object of class \code{"list"}. See the help for
18 \code{"gpc.poly"} for details.}
22 Class \code{"gpc.poly"}, directly.
26 \item{coerce}{\code{signature(from = "numeric", to = "gpc.poly.nohole")}: ... }
29 \author{Roger D. Peng}
31 This class is identical to \code{"gpc.poly"} and is needed because the
32 file formats for polygons without holes is slightly different from the
33 file format for polygons with holes. For a \code{"gpc.poly.nohole"}
34 object, the \code{hole} flag for each contour is always \code{FALSE}.
36 Also, \code{write.polyfile} will write the correct file format,
37 depending on whether the object is of class \code{"gpc.poly"} or
38 \code{"gpc.poly.nohole"}.
42 \code{\link{gpc.poly-class}}