| PolyhedronState | R Documentation |
This abstract class provide the basis from which every polyhedron state class derivate.
sourcepolyhedron definition source
file.idpolyhedron file id
errorsErrors string
loggerclass logger
new()Create a polyhedronState object
PolyhedronState$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$addError(current.error)
current.errorthe error to add
scrape()Scrapes the polyhedra folder files
PolyhedronState$scrape()
getName()Get Polyhedron name
PolyhedronState$getName()
string with polyhedron name
getSolid()Returns the object corresponding to the solid
PolyhedronState$getSolid()
checkEdgesConsistency()Checks edge consistency
PolyhedronState$checkEdgesConsistency()
applyTransformationMatrix()Apply transformation matrix to polyhedron
PolyhedronState$applyTransformationMatrix(transformation.matrix)
transformation.matrixthe transformation matrix to apply to the polyhedron
buildRGL()Creates a 'rgl' representation of the object
PolyhedronState$buildRGL(transformation.matrix)
transformation.matrixthe transformation matrix to apply to the polyhedron
exportToXML()Gets an XML representation out of the polyhedron object
PolyhedronState$exportToXML()
clone()The objects of this class are cloneable with this method.
PolyhedronState$clone(deep = FALSE)
deepWhether to make a deep clone.
ken4rab
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.