org.jmol.shapesurface

Class Pmesh

public class Pmesh extends MeshFileCollection

Nested Class Summary
classPmesh.PmeshBinaryDocument
Field Summary
BufferedReaderbr
Pmesh.PmeshBinaryDocumentdoc
booleaniHaveModelIndex
booleanisBinary
booleanisOnePerLine
StringpmeshError
static StringPMESH_BINARY_MAGIC_NUMBER
Method Summary
voidcloseReaders()
intgetInt()
ObjectgetProperty(String property, int index)
voidinitShape()
booleanreadPmesh()
int[]readPolygon(int iPoly)
booleanreadPolygonCount()
booleanreadPolygonIndexes()
booleanreadVertexCount()
booleanreadVertices()
voidsetProperty(String propertyName, Object value, BitSet bs)

Field Detail

br

BufferedReader br

doc

Pmesh.PmeshBinaryDocument doc

iHaveModelIndex

private boolean iHaveModelIndex

isBinary

private boolean isBinary

isOnePerLine

private boolean isOnePerLine

pmeshError

String pmeshError

PMESH_BINARY_MAGIC_NUMBER

private static final String PMESH_BINARY_MAGIC_NUMBER

Method Detail

closeReaders

private void closeReaders()

getInt

private int getInt()

getProperty

public Object getProperty(String property, int index)

initShape

public void initShape()

readPmesh

private boolean readPmesh()

readPolygon

private int[] readPolygon(int iPoly)

readPolygonCount

private boolean readPolygonCount()

readPolygonIndexes

private boolean readPolygonIndexes()

readVertexCount

private boolean readVertexCount()

readVertices

private boolean readVertices()

setProperty

public void setProperty(String propertyName, Object value, BitSet bs)