Rpolyhedra (version 0.2.6)

PolyhedronState.class: Polyhedron State

Description

This abstract class provide the basis from which polyhedron state class derivate.

Usage

PolyhedronState.class

Arguments

Format

R6Class object.

Fields

errors

Errors string

source

polyhedron definition source

number

polyhedron number

Methods

addError(current.error)

Adds an error to the error string and log it as info

scrape()

Scrapes the polyhedra folder files

geSolid()

returns the object corresponding to the solid

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

creates a RGL representation of the object

exportToXML()

Gets an XML representation out of the polyhedron object