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
| 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 |
|
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 |
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
PwPlatonic
public PwPlatonic(PgElementSet anElementSet)
- Constructor
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()
The software JavaView® is copyright protected. All Rights Reserved.