Package org.jmol.geodesic
Class EnvelopeCalculation
java.lang.Object
org.jmol.geodesic.EnvelopeCalculation
- All Implemented Interfaces:
JmolEnvCalc
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
allocDotsConvexMaps
(int max) void
calculate
(RadiusData rd, float maxRadius, BS bsSelected, BS bsIgnore, boolean disregardNeighbors, boolean onlySelectedDots, boolean isSurface, boolean multiModel) void
deleteAtoms
(int firstAtomDeleted, int nAtomsDeleted) float
getAppropriateRadius
(int atomIndex) BS[]
int
P3[]
float
getRadius
(int atomIndex) void
newSet()
void
reCalculate
(BS bs, M3 m) problem prior to 12.3.18 was that dots once on the deodesic were not being moved.set
(AtomDataServer vwr, int ac, short[] mads) void
setFromBits
(int index, BS bs) void
setMads
(short[] mads)
-
Constructor Details
-
EnvelopeCalculation
public EnvelopeCalculation()
-
-
Method Details
-
set
- Specified by:
set
in interfaceJmolEnvCalc
- Parameters:
vwr
-ac
-mads
-- Returns:
- this
-
getDotsConvexMaps
-
getDotsConvexMax
public int getDotsConvexMax() -
allocDotsConvexMaps
public void allocDotsConvexMaps(int max) -
getBsSurfaceClone
- Specified by:
getBsSurfaceClone
in interfaceJmolEnvCalc
-
setMads
public void setMads(short[] mads) -
setFromBits
-
newSet
public void newSet() -
reCalculate
problem prior to 12.3.18 was that dots once on the deodesic were not being moved. this isn't perfect, but it's reasonably good. Mostly, you should recreate dots after rotateSelected. This isn't a problem until after a state is saved and reloaded, since only then with atomData.radiusData be null.- Parameters:
bs
-m
-
-
calculate
public void calculate(RadiusData rd, float maxRadius, BS bsSelected, BS bsIgnore, boolean disregardNeighbors, boolean onlySelectedDots, boolean isSurface, boolean multiModel) - Specified by:
calculate
in interfaceJmolEnvCalc
- Parameters:
rd
-maxRadius
-bsSelected
-bsIgnore
-disregardNeighbors
-onlySelectedDots
-isSurface
-multiModel
-
-
getRadius
public float getRadius(int atomIndex) -
getPoints
- Specified by:
getPoints
in interfaceJmolEnvCalc
-
getAppropriateRadius
public float getAppropriateRadius(int atomIndex) -
deleteAtoms
public void deleteAtoms(int firstAtomDeleted, int nAtomsDeleted) - Parameters:
firstAtomDeleted
-nAtomsDeleted
-
-