zonogon-getmetrics {zonohedra}R Documentation

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 class 'zonogon'
getmetrics( x )

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

Arguments

x

a zonogon object

...

not used

Details

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

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.

See Also

zonogon(), getmetrics.zonohedron()


[Package zonohedra version 0.3-0 Index]