PolyhedronStateDmccooeyScraper | R Documentation |
Scrapes polyhedra from a dmccooey file format
Rpolyhedra::PolyhedronState
-> PolyhedronStateDmccooeyScraper
regexp.values.names
regexp for scraping values names
regexp.rn
regexp for scraping real numbers
regexp.values
regexp for scraping values
regexp.vertex
regexp for scraping vertices
regexp.faces
regexp for scraping faces
polyhedra.dmccooey.lines
dmccooey polyhedra definition lines
labels.map
labels map where values are
values
labels map where values are
vertices
specification
vertices.replaced
3D values
faces
definition
new()
Initialize Dmccooey scraper
PolyhedronStateDmccooeyScraper$new(file.id, polyhedra.dmccooey.lines)
file.id
identifier of the definition file.
polyhedra.dmccooey.lines
raw 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.lines
values definitions in Dmccooey source
This PolyhedronStateDmccooeyScraper object with values defined.
scrapeVertices()
scrape polyhedron vertices from definition
PolyhedronStateDmccooeyScraper$scrapeVertices(vertices.lines)
vertices.lines
vertices definitions in Dmccooey source
This PolyhedronStateDmccooeyScraper object with faces defined.
scrapeFaces()
scrape polyhedron faces from definition
PolyhedronStateDmccooeyScraper$scrapeFaces(faces.lines)
faces.lines
face
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.matrix
the transformation matrix to apply to the polyhedron
buildRGL()
Creates a 'rgl' representation of the object
PolyhedronStateDmccooeyScraper$buildRGL(transformation.matrix)
transformation.matrix
the 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)
deep
Whether to make a deep clone.
ken4rab
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.