Learn R Programming

zonohedra (version 0.3-0)

zonogon-getmetrics: get important metrics about a zonogon, and print basic facts about a zonogon.

Description

Get some important zonogon metrics; some computation is used. Also print the data, and more.

Usage

# S3 method for zonogon
getmetrics( x )

# S3 method for zonogon print( x, ... )

Value

getmetrics() returns a list with these items:

vertices

the number of vertices

perimeter

the sum of the lengths of the all edges

area

as a polygon

All of these are always positive.

print.zonogon() returns TRUE or FALSE.

Arguments

x

a zonogon object

...

not used

Details

print.zonogon() prints some basic information about the zonogon, and the associated matroid.

See Also

zonogon(), getmetrics.zonohedron()