org.jmol.shapespecial
Class Polyhedra
public
class
Polyhedra
extends AtomShape
Method Summary |
void | buildPolyhedra() |
Polyhedra.Polyhedron | constructBitSetPolyhedron(int atomIndex) |
Polyhedra.Polyhedron | constructBondsPolyhedron(int atomIndex) |
Polyhedra.Polyhedron | constructRadiusPolyhedron(int atomIndex) |
void | deletePolyhedra() |
String | faceId(int i, int j, int k) |
String | getShapeState() |
boolean | isAligned(Point3f pt1, Point3f pt2, Point3f pt3) |
boolean | isPlanar(Point3f pt1, Point3f pt2, Point3f pt3, Point3f ptX) |
void | setProperty(String propertyName, Object value, BitSet bs) |
void | setVisibilityFlags(BitSet bs) |
void | setVisible(boolean visible) |
Polyhedra.Polyhedron | validatePolyhedronNew(Atom centralAtom, int vertexCount, Atom[] otherAtoms) |
private Vector3f align1
private Vector3f align2
private boolean bondedOnly
private BitSet bsVertexCount
private BitSet bsVertices
private BitSet centers
float distanceFactor
int drawEdges
private static final float DEFAULT_DISTANCE_FACTOR
private static final float DEFAULT_FACECENTEROFFSET
static final int EDGES_ALL
static final int EDGES_FRONT
private static final int EDGES_NONE
float faceCenterOffset
private static final int FACE_COUNT_MAX
private boolean haveBitSetVertices
private boolean iHaveCenterBitSet
boolean isCollapsed
private static float minDistanceForPlanarity
private static final int MAX_VERTICES
private short[] normixesT
private int nVertices
private
Atom[] otherAtoms
private byte[] planesT
int polyhedronCount
private float radius
private static final Point3f randomPoint
private final Vector3f vAB
private final Vector3f vAC
private void buildPolyhedra()
private void deletePolyhedra()
private String faceId(int i, int j, int k)
public String getShapeState()
private boolean isAligned(Point3f pt1, Point3f pt2, Point3f pt3)
private boolean isPlanar(Point3f pt1, Point3f pt2, Point3f pt3, Point3f ptX)
public void setProperty(String propertyName, Object value, BitSet bs)
public void setVisibilityFlags(BitSet bs)
private void setVisible(boolean visible)