polygon-class {RGeostats}R Documentation

Class "polygon" Polygons

Description

Thos class contains the description of a polygon, constituted of one or several polysets.

Objects from the Class

Objects can be created by calls of the form new("polygon", ...). Contains a polygon

Slots

sets:

Object of class "list" List with the two vectors containing the 2-D coordinates of the polygon vertices

Methods

[

polygon[i,j] returns the i-th coordinate (1 or 2) of the j-th vertex of the polygon-class

[<-

Same but for assignment

\$

polygon$parameter is used to query the value of parameter from polygon:

\$<-

Same but for assignment

show

polygon.print

print

polygon.print

plot

polygon.plot

See Also

Other functions are available, such as:

Examples

showClass("polygon")

[Package RGeostats version 11.1.1 Index]