Rpolyhedra (version 0.2.4)

polyhedronToXML: polyhedronToXML()

Description

Gets an XML representation out of the polyhedron object

Usage

polyhedronToXML(polyhedron.state.defined)

Arguments

polyhedron.state.defined

the polyhedron to get a representation from

Value

an XML document, ready to be converted to String with XML::saveXML()

Examples

Run this code
# NOT RUN {
#get the representation of a cube (netlib library)
library(Rpolyhedra)
XML::saveXML(polyhedronToXML(getPolyhedron("netlib", "cube")$state))

# }

Run the code above in your browser using DataCamp Workspace