| PolyhedronStateDmccooeyScraper | R Documentation |
Scrapes polyhedra from a dmccooey file format
Rpolyhedra::PolyhedronState -> PolyhedronStateDmccooeyScraper
regexp.values.namesregexp for scraping values names
regexp.rnregexp for scraping real numbers
regexp.valuesregexp for scraping values
regexp.vertexregexp for scraping vertices
regexp.facesregexp for scraping faces
polyhedra.dmccooey.linesdmccooey polyhedra definition lines
labels.maplabels map where values are
valueslabels map where values are
verticesspecification
vertices.replaced3D values
facesdefinition
new()Initialize Dmccooey scraper
PolyhedronStateDmccooeyScraper$new(file.id, polyhedra.dmccooey.lines)
file.ididentifier of the definition file.
polyhedra.dmccooey.linesraw Dmccooey definition file lines
A new PolyhedronStateDmccooeyScraper object.
setupRegexp()setupRegexp for Dmccooey definition
PolyhedronStateDmccooeyScraper$setupRegexp()
This PolyhedronStateDmccooeyScraper object with regexp defined.
scrapeValues()scrape values from Dmccooey definition
PolyhedronStateDmccooeyScraper$scrapeValues(values.lines)
values.linesvalues definitions in Dmccooey source
This PolyhedronStateDmccooeyScraper object with values defined.
scrapeVertices()scrape polyhedron vertices from definition
PolyhedronStateDmccooeyScraper$scrapeVertices(vertices.lines)
vertices.linesvertices definitions in Dmccooey source
This PolyhedronStateDmccooeyScraper object with faces defined.
scrapeFaces()scrape polyhedron faces from definition
PolyhedronStateDmccooeyScraper$scrapeFaces(faces.lines)
faces.linesface
This PolyhedronStateDmccooeyScraper object with faces defined.
scrape()scrape Dmccooey polyhedron definition
PolyhedronStateDmccooeyScraper$scrape()
A new PolyhedronStateDefined object.
getName()get Polyhedron name
PolyhedronStateDmccooeyScraper$getName()
string with polyhedron name
applyTransformationMatrix()Apply transformation matrix to polyhedron
PolyhedronStateDmccooeyScraper$applyTransformationMatrix(transformation.matrix)
transformation.matrixthe transformation matrix to apply to the polyhedron
buildRGL()Creates a 'rgl' representation of the object
PolyhedronStateDmccooeyScraper$buildRGL(transformation.matrix)
transformation.matrixthe transformation matrix to apply to the polyhedron
exportToXML()serializes object in XML
PolyhedronStateDmccooeyScraper$exportToXML()
clone()The objects of this class are cloneable with this method.
PolyhedronStateDmccooeyScraper$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.