Learn R Programming

zonohedra (version 0.6-0)

Compute and Plot Zonohedra from Vector Generators

Description

Computes a zonohedron from real vector generators. The package also computes zonogons (2D zonotopes) and zonosegs (1D zonotopes). An elementary S3 class for matroids is included, which supports matroids with rank 3, 2, and 1. Optimization methods are taken from Heckbert (1985) .

Copy Link

Version

Install

install.packages('zonohedra')

Monthly Downloads

465

Version

0.6-0

License

GPL (>= 2)

Issues

Pull Requests

Stars

Forks

Maintainer

Glenn Davis

Last Published

September 1st, 2025

Functions in zonohedra (0.6-0)

rank

Rank and Independence
plothighertrans

plot abundant and deficient parallelograms
simplify

simplify and unsimplify
raytrace2trans

compute the intersection of a ray and the 2-transition surface associated with a zonohedron
minkowskisum

Minkowski sum of Two zonotopes
matroid-props

matroid properties
plotpolygon

plot the generator polygon associated with a pointed zonohedron
section2trans

compute the intersection of a plane and the 2-transition surface associated with a zonohedron
plot2trans

plot the 2-transition surface associated with a zonohedron
matroid

matroid construction
zonogon

zonogon construction
spherize

spherize a zonotope
support

the support function for a zonotope
zonogon-getmetrics

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

compute the intersection of a ray, based in the interior of a zonogon, and the boundary of that zonogon
zonogon-plot

plot a zonogon
zonogon-section

compute the intersection of a line and the boundary of a zonogon
symmetrize

symmetrize a zonotope
transitionsdf

summarize the number of transitions and associated data, over all parallelograms in the boundary of a zonohedron
zonogon-invert

invert points in a zonogon
zonohedron

zonohedron construction
zonohedron-section

compute the intersection of a plane and the boundary of a zonohedron
zonohedron-as.mesh3d

convert the boundary of a zonohedron to an rgl::mesh3d object
zonohedron-raytrace

compute the intersection of a ray, based in the interior of a zonohedron, and the boundary of that zonohedron
getmetrics.zonohedron

Get Important Metrics about a Zonohedron, and Print and Summarize Them
zonotope-getters

zonotope get functions
zonoseg

zonoseg construction, querying, and printing
zonohedra-package

zonhedra package
zonoseg-invert

invert points in a zonoseg
zonohedron-plot

plot a zonohedron
zonotope-props

zonotope properties
invertboundary

invert points on the boundary of a zonohedron
lintransform

linear transformations of zonotopes, and vector matroids
boundarypgramdata

compute data about specific parallelograms in the boundary of a zonohedron
print.genlist

Print Basic Metrics for Each Zonohedron Generated by the Matrices in a genlist object
inside2trans

test points against a 2-transition surface
inside

test points for being inside a zonotope
grpDuplicated

Grouping by duplicated elements
genlist

zonohedra generators useful for testing and plotting
print

Print Basic Facts about a Matroid
matroid-getters

matroid get functions