Polyhedron container class, which is accesible by the final users upon call to getPolyhedron()
Polyhedron.class
R6Class
object.
file.id
Polyhedron file.id
state
Polyhedron state
initialize(file.id, state = NULL)
Initializes the object
scrapeNetlib(polyhedron.lines)
Scrapes polyhedra from the netlib definition
scrapeDmccoey(polyhedra.dmccoey.lines)
Scrapes polyhedra from the dmccoey definition
deserialize(polyhedron.serialized)
Deserialize polyhedron from definition
getName()
Gets the name from polyhedron definition
getState()
Gets the state from polyhedron definition
getSolid()
Gets the solid definition of polyhedron definition
isChecked()
Returns TRUE is polyhedron is checked
getErrors()
Returns errors collected in checking process
getRGLModel(size = 1, origin = c(0, 0, 0)
Builds the RGL model
exportToXML()
Gets an XML representation out of the polyhedron object
checkProperties(expected.vertices, expected.faces)
check polyhedron basic properties