Rpolyhedra (version 0.2.4)

PolyhedronStateNetlibScraper.class: Polyhedron State Netlib Scraper

Description

Scrapes polyhedra from a PHD file format.

Usage

PolyhedronStateNetlibScraper.class

Arguments

Format

R6Class object.

Fields

netlib.p3.lines

The path to the PHD files

labels.rows

Labels - row of appearance

labels.map

Labels - Map of content

Methods

initialize(number, netlib.p3.lines)

Initializes the object, taking the number and PDH file as parameters

extract_fows_from_label(label.number, expected.label)

Extracts data from the label, taking the label number and the expected label as parameters

getLabels()

Gets the label from the polyhedron

scrapeNet(net.txt, offset = 0)

Scrape the net model

extractCFOutBrackets()

Gets the CF Out Brackets

scrapeVertices(vertices.txt)

Scrapes the vertices

setupLabelsOrder()

Sets up the order of labels included in PHD file

getDataFromLabel(label)

Gets data from the Label

scrape()

Scrapes the data from the PHD file

buildRGL(size = 1, origin = c(0, 0, 0), normalize.size = TRUE)

Builds the RGL mmodel