gpc.poly.nohole-class: Class "gpc.poly.nohole"

Description Objects from the Class Slots Extends Methods Note Author(s) See Also Examples

Description

A class for representing polygons with multiple contours but without holes.

Objects from the Class

Objects can be created by calls of the form ‘new("gpc.poly.nohole", ...) or by calling read.polyfile’.

Slots

pts

Object of class “list”. See the help for “gpc.poly” for details.

Extends

Class “gpc.poly”, directly.

Methods

coerce

signature(from = "numeric", to = "gpc.poly.nohole"): ...

Note

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 hole flag 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”.

Author(s)

Roger D. Peng

See Also

gpc.poly-class

Examples

1
## None

gpclib documentation built on Feb. 29, 2020, 1:07 a.m.