Polyhedron State
Polyhedron State
This abstract class provide the basis from which every polyhedron state class derivate.
sourcepolyhedron definition source
file.idpolyhedron file id
errorsErrors string
new()Create a polyhedronState object
PolyhedronState.class$new(source, file.id)
sourcethe source file
file.idthe file id
A new PolyhedronState object. '@description Adds an error to the error string and log it as info
addError()PolyhedronState.class$addError(current.error)
current.errorthe error to add
scrape()Scrapes the polyhedra folder files
PolyhedronState.class$scrape()
getName()Get Polyhedron name
PolyhedronState.class$getName()
string with polyhedron name
getSolid()Returns the object corresponding to the solid
PolyhedronState.class$getSolid()
checkEdgesConsistency()Checks edge consistency
PolyhedronState.class$checkEdgesConsistency()
applyTransformationMatrix()Apply transformation matrix to polyhedron
PolyhedronState.class$applyTransformationMatrix(transformation.matrix)
transformation.matrixthe transformation matrix to apply to the polyhedron
buildRGL()Creates a 'rgl' representation of the object
PolyhedronState.class$buildRGL(transformation.matrix)
transformation.matrixthe transformation matrix to apply to the polyhedron
exportToXML()Gets an XML representation out of the polyhedron object
PolyhedronState.class$exportToXML()
clone()The objects of this class are cloneable with this method.
PolyhedronState.class$clone(deep = FALSE)
deepWhether to make a deep clone.