Rpolyhedra (version 0.3.0)

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

file.id

polyhedron file id

Methods

addError(current.error)

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

scrape()

Scrapes the polyhedra folder files

getSolid()

returns the object corresponding to the solid

applyTransformationMatrix(transformation.matrix)

Apply transformation matrix to polyhedron

buildRGL(transformation.matrix)

creates a RGL representation of the object

exportToXML()

Gets an XML representation out of the polyhedron object