Class EnvelopeCalculation
java.lang.Object
org.jmol.geodesic.EnvelopeCalculation
- All Implemented Interfaces:
JmolEnvCalc
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidallocDotsConvexMaps(int max) voidcalculate(RadiusData rd, float maxRadius, BS bsSelected, BS bsIgnore, boolean disregardNeighbors, boolean onlySelectedDots, boolean isSurface, boolean multiModel) voiddeleteAtoms(int firstAtomDeleted, int nAtomsDeleted) floatgetAppropriateRadius(int atomIndex) BS[]intP3[]floatgetRadius(int atomIndex) voidnewSet()voidreCalculate(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) voidsetFromBits(int index, BS bs) voidsetMads(short[] mads)
-
Constructor Details
-
EnvelopeCalculation
public EnvelopeCalculation()
-
-
Method Details
-
set
- Specified by:
setin interfaceJmolEnvCalc- Parameters:
vwr-ac-mads-- Returns:
- this
-
getDotsConvexMaps
-
getDotsConvexMax
public int getDotsConvexMax() -
allocDotsConvexMaps
public void allocDotsConvexMaps(int max) -
getBsSurfaceClone
- Specified by:
getBsSurfaceClonein 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:
calculatein interfaceJmolEnvCalc- Parameters:
rd-maxRadius-bsSelected-bsIgnore-disregardNeighbors-onlySelectedDots-isSurface-multiModel-
-
getRadius
public float getRadius(int atomIndex) -
getPoints
- Specified by:
getPointsin interfaceJmolEnvCalc
-
getAppropriateRadius
public float getAppropriateRadius(int atomIndex) -
deleteAtoms
public void deleteAtoms(int firstAtomDeleted, int nAtomsDeleted) - Parameters:
firstAtomDeleted-nAtomsDeleted-
-