Polyhedron state inside database.
PolyhedronStateDefined.classR6Class object.
sourcepolyhedron definition source
numberpolyhedron arbitrary numeration (netlib|dmccooey)
namepolyhedron name (netlib|dmccooey)
symbolthe eqn(1) input for two symbols separated by a tab; the Johnson symbol, and the Schlafli symbol (netlib)
dualthe name of the dual polyhedron optionally followed by a horizontal tab and the number of the dual (netlib)
sfacespolyhedron solid face list (netlib)
sverticespolyhedron solid vertice list (netlib)
netpolyhedron 2D net model with vertices defined for a planar representation (netlib)
hingesPolyhedron hinge list (netlib)
solidpolyhedron list of edges which generate a solid (netlib|dmccooey)
dihDih attribute (netlib)
verticesPolyhedron vertices list (netlib|dmccooey)
vertices.rglPolyhedron triangulated vertices list for RGL
solid.triangulatedPolyhedron solid (triangulated) for RGL visualization
mass.centerpolyhedron mass center
initialize(source, number,name, symbol, dual,
sfaces, svertices, net, solid, hinges, dih, vertices)Initializes the object, taking defaults.
scrape()Do nothing as the object is defined
getNet()Gets the 2d net model
getSolid()Gets the solid representation
triangulate(force = FALSE)Generates the triangular faces model for generating tmesh
getBoundingBox(vertices.3d)Gets the bounding box of the object
calculateMassCenter(size = 1, vertices.3d)Calculates the object's Mass Center for parameter vertices
getNormalizedSize()Normalizes the volume of the object to a tetrahedron bounding box
getPositionedVertices(size,origin)Returns the vertices adjusted to size and origin parameters
buildRGL(size = 1, origin = c(0, 0, 0), normalize.size = TRUE)Builds the RGL model, taking the object's size, the origin
exportToXML()Gets an XML representation out of the polyhedron object