JavaView® v2.12

jvx.geom
Class PwPlatonic

java.lang.Object
  |
  +--jv.object.PsObject
        |
        +--jvx.geom.PwPlatonic
All Implemented Interfaces:
java.lang.Cloneable, PsUpdateIf, java.io.Serializable

public class PwPlatonic
extends PsObject

Data of Platonic solids and other regular solids.

Version:
01.02.01, 1.10 revised (ur) All solids (except for Rhombic Dodecahedron) scaled to vertex radius 1.
08.09.00, 1.02 revised (ur) Method getSolidName() added.
13.12.99, 1.01 revised (ur) added all remaining platonic and archimedic solids.
05.08.99, 1.00 created (ur).
Author:
Ulrich Reitebuch
See Also:
Serialized Form

Field Summary
static int CUBE
           
static int CUBE_OCTAHEDRON
           
static int DODECAHEDRON
           
static int ICOSAHEDRON
           
static int ICOSI_DODECAHEDRON
           
static int[][] m_cubeElements
           
static int[][] m_cubeOctahedronElements
           
static double[][] m_cubeOctahedronVertices
           
static double[][] m_cubeVertices
           
static int[][] m_dodecahedronElements
           
static double[][] m_dodecahedronVertices
           
static int[][] m_icosahedronElements
           
static double[][] m_icosahedronVertices
           
static int[][] m_icosiDodecahedronElements
           
static double[][] m_icosiDodecahedronVertices
           
static int[][] m_octahedronElements
           
static double[][] m_octahedronVertices
           
static int[][] m_rhombicDodekahedronElements
           
static double[][] m_rhombicDodekahedronVertices
           
static int[][] m_rhombIcosiDodecahedronElements
           
static double[][] m_rhombIcosiDodecahedronVertices
           
static int[][] m_rhombiCubeOctahedronElements
           
static double[][] m_rhombiCubeOctahedronVertices
           
static int[][] m_rhombiTruncatedCubeElements
           
static double[][] m_rhombiTruncatedCubeVertices
           
static int[][] m_rhombiTruncatedIcosahedronElements
           
static double[][] m_rhombiTruncatedIcosahedronVertices
           
static int[][] m_snubCubeElements
           
static double[][] m_snubCubeVertices
           
static int[][] m_snubDodecahedronElements
           
static double[][] m_snubDodecahedronVertices
           
static int[][] m_soccerBallElements
           
static double[][] m_soccerBallVertices
           
static int[][] m_tetrahedronElements
           
static double[][] m_tetrahedronVertices
           
static int[][] m_truncatedCubeElements
           
static double[][] m_truncatedCubeVertices
           
static int[][] m_truncatedDodecahedronElements
           
static double[][] m_truncatedDodecahedronVertices
           
static int[][] m_truncatedTetrahedronElements
           
static double[][] m_truncatedTetrahedronVertices
           
static int[][] m_truncOctahedronElements
           
static double[][] m_truncOctahedronVertices
           
static int OCTAHEDRON
           
static int RHOMB_ICOSI_DODECAHEDRON
           
static int RHOMBI_CUBE_OCTAHEDRON
           
static int RHOMBI_TRUNCATED_CUBE
           
static int RHOMBI_TRUNCATED_ICOSAHEDRON
           
static int RHOMBIC_DODEKAHEDRON
           
static int SNUB_CUBE
           
static int SNUB_DODECAHEDRON
           
static int SOCCER_BALL
           
static int TETRAHEDRON
           
static int TRUNCATED_CUBE
           
static int TRUNCATED_DODECAHEDRON
           
static int TRUNCATED_OCTAHEDRON
           
static int TRUNCATED_TETRAHEDRON
           
 
Fields inherited from class jv.object.PsObject
HAS_CONFIG_PANEL, HAS_INFO_PANEL, HAS_MATERIAL_PANEL, HAS_TEXTURE_PANEL, INSPECTOR_INFO, INSPECTOR_INFO_EXT, IS_DELETED, IS_FIXED, IS_SELECTED, IS_USED, NUM_TAGS
 
Constructor Summary
PwPlatonic(PgElementSet anElementSet)
          Constructor
 
Method Summary
 java.lang.String getSolidName()
           
 void init()
          If instance has missing name then assign default name 'object_NUMBER' where number is the total number of already created instances.
 void setSolid(PgElementSet anElementSet, int solidType)
          Choose a solid and set data of elementSet.
 void setSolid(PgElementSet anElementSet, java.lang.String solidName)
          Choose a solid.
 boolean update(java.lang.Object event)
          Update the class whenever a child has changed.
 
Methods inherited from class jv.object.PsObject
addInspector, addUpdateListener, assureInspector, clearTag, clone, clone, clone, copy, getFather, getInfoPanel, getInspector, getName, getNumObjects, hasInspector, hasTag, hasUpdateListener, instanceOf, instanceOf, removeInspector, removeUpdateListener, setName, setParent, setTag, toString, updatePanels
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

m_cubeVertices

public static final double[][] m_cubeVertices

m_cubeElements

public static final int[][] m_cubeElements

m_tetrahedronVertices

public static final double[][] m_tetrahedronVertices

m_tetrahedronElements

public static final int[][] m_tetrahedronElements

m_octahedronVertices

public static final double[][] m_octahedronVertices

m_octahedronElements

public static final int[][] m_octahedronElements

m_dodecahedronVertices

public static final double[][] m_dodecahedronVertices

m_dodecahedronElements

public static final int[][] m_dodecahedronElements

m_icosahedronVertices

public static final double[][] m_icosahedronVertices

m_icosahedronElements

public static final int[][] m_icosahedronElements

m_truncOctahedronVertices

public static final double[][] m_truncOctahedronVertices

m_truncOctahedronElements

public static final int[][] m_truncOctahedronElements

m_soccerBallVertices

public static final double[][] m_soccerBallVertices

m_soccerBallElements

public static final int[][] m_soccerBallElements

m_snubCubeVertices

public static final double[][] m_snubCubeVertices

m_snubCubeElements

public static final int[][] m_snubCubeElements

m_snubDodecahedronVertices

public static final double[][] m_snubDodecahedronVertices

m_snubDodecahedronElements

public static final int[][] m_snubDodecahedronElements

m_cubeOctahedronVertices

public static final double[][] m_cubeOctahedronVertices

m_cubeOctahedronElements

public static final int[][] m_cubeOctahedronElements

m_icosiDodecahedronVertices

public static final double[][] m_icosiDodecahedronVertices

m_icosiDodecahedronElements

public static final int[][] m_icosiDodecahedronElements

m_rhombiCubeOctahedronVertices

public static final double[][] m_rhombiCubeOctahedronVertices

m_rhombiCubeOctahedronElements

public static final int[][] m_rhombiCubeOctahedronElements

m_rhombIcosiDodecahedronVertices

public static final double[][] m_rhombIcosiDodecahedronVertices

m_rhombIcosiDodecahedronElements

public static final int[][] m_rhombIcosiDodecahedronElements

m_rhombiTruncatedCubeVertices

public static final double[][] m_rhombiTruncatedCubeVertices

m_rhombiTruncatedCubeElements

public static final int[][] m_rhombiTruncatedCubeElements

m_truncatedCubeVertices

public static final double[][] m_truncatedCubeVertices

m_truncatedCubeElements

public static final int[][] m_truncatedCubeElements

m_rhombiTruncatedIcosahedronVertices

public static final double[][] m_rhombiTruncatedIcosahedronVertices

m_rhombiTruncatedIcosahedronElements

public static final int[][] m_rhombiTruncatedIcosahedronElements

m_truncatedDodecahedronVertices

public static final double[][] m_truncatedDodecahedronVertices

m_truncatedDodecahedronElements

public static final int[][] m_truncatedDodecahedronElements

m_rhombicDodekahedronVertices

public static final double[][] m_rhombicDodekahedronVertices

m_rhombicDodekahedronElements

public static final int[][] m_rhombicDodekahedronElements

m_truncatedTetrahedronVertices

public static final double[][] m_truncatedTetrahedronVertices

m_truncatedTetrahedronElements

public static final int[][] m_truncatedTetrahedronElements

TETRAHEDRON

public static final int TETRAHEDRON

CUBE

public static final int CUBE

OCTAHEDRON

public static final int OCTAHEDRON

DODECAHEDRON

public static final int DODECAHEDRON

ICOSAHEDRON

public static final int ICOSAHEDRON

TRUNCATED_TETRAHEDRON

public static final int TRUNCATED_TETRAHEDRON

TRUNCATED_CUBE

public static final int TRUNCATED_CUBE

TRUNCATED_OCTAHEDRON

public static final int TRUNCATED_OCTAHEDRON

TRUNCATED_DODECAHEDRON

public static final int TRUNCATED_DODECAHEDRON

SOCCER_BALL

public static final int SOCCER_BALL

CUBE_OCTAHEDRON

public static final int CUBE_OCTAHEDRON

ICOSI_DODECAHEDRON

public static final int ICOSI_DODECAHEDRON

SNUB_CUBE

public static final int SNUB_CUBE

SNUB_DODECAHEDRON

public static final int SNUB_DODECAHEDRON

RHOMBI_CUBE_OCTAHEDRON

public static final int RHOMBI_CUBE_OCTAHEDRON

RHOMB_ICOSI_DODECAHEDRON

public static final int RHOMB_ICOSI_DODECAHEDRON

RHOMBI_TRUNCATED_CUBE

public static final int RHOMBI_TRUNCATED_CUBE

RHOMBI_TRUNCATED_ICOSAHEDRON

public static final int RHOMBI_TRUNCATED_ICOSAHEDRON

RHOMBIC_DODEKAHEDRON

public static final int RHOMBIC_DODEKAHEDRON
Constructor Detail

PwPlatonic

public PwPlatonic(PgElementSet anElementSet)
Constructor
Method Detail

init

public void init()
Description copied from class: PsObject
If instance has missing name then assign default name 'object_NUMBER' where number is the total number of already created instances.
Overrides:
init in class PsObject

update

public boolean update(java.lang.Object event)
Update the class whenever a child has changed. Method is usually invoked from the children.
Overrides:
update in class PsObject
Following copied from class: jv.object.PsObject
See Also:
PsObject.setParent(PsUpdateIf), PsObject.getFather(), PsObject.addUpdateListener(PsUpdateIf)

setSolid

public void setSolid(PgElementSet anElementSet,
                     java.lang.String solidName)
Choose a solid.

setSolid

public void setSolid(PgElementSet anElementSet,
                     int solidType)
Choose a solid and set data of elementSet.

getSolidName

public java.lang.String getSolidName()

JavaView® v2.12

The software JavaView® is copyright protected. All Rights Reserved.