Package org.jmol.util
Interface Node
-
- All Superinterfaces:
SimpleNode
- All Known Implementing Classes:
Atom,SmilesAtom
public interface Node extends SimpleNode
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description javajs.util.BSfindAtomsLike(java.lang.String substring)intgetAtomicAndIsotopeNumber()java.lang.StringgetAtomName()intgetAtomNumber()intgetAtomSite()java.lang.StringgetAtomType()chargetBioSmilesType()java.lang.StringgetBioStructureTypeName()intgetBondedAtomIndex(int j)intgetChainID()java.lang.StringgetChainIDStr()java.lang.StringgetCIPChirality(boolean doCalculate)intgetCIPChiralityCode()intgetCovalentBondCount()Get the total number of covalent bonds, thus not including hydrogen bonds.intgetCovalentBondCountPlusMissingH()includes actual + missingintgetCovalentHydrogenCount()booleangetCrossLinkVector(javajs.util.Lst<java.lang.Integer> vReturn, boolean crosslinkCovalent, boolean crosslinkHBond)Edge[]getEdges()Get the bond array, including hydrogen bonds.intgetElementNumber()floatgetFloatProperty(java.lang.String property)intgetFormalCharge()java.lang.StringgetGroup1(char c0)java.lang.StringgetGroup3(boolean allowNull)voidgetGroupBits(javajs.util.BS bs)intgetImplicitHydrogenCount()can be > 0 for PDB model with no H atoms or for SMILES string CCCintgetIndex()chargetInsertionCode()intgetIsotopeNumber()floatgetMass()intgetModelIndex()intgetMoleculeNumber(boolean inModel)intgetOffsetResidueAtom(java.lang.String name, int offset)intgetResno()intgetTotalHydrogenCount()intgetTotalValence()intgetValence()javajs.util.P3getXYZ()booleanisCrossLinked(Node node)booleanisDeleted()booleanisLeadAtom()booleanisPurine()booleanisPyrimidine()booleanmodelIsRawPDB()voidset(float x, float y, float z)voidsetCIPChirality(int c)-
Methods inherited from interface org.jmol.util.SimpleNode
getBondCount
-
-
-
-
Method Detail
-
getAtomicAndIsotopeNumber
int getAtomicAndIsotopeNumber()
-
getAtomName
java.lang.String getAtomName()
- Specified by:
getAtomNamein interfaceSimpleNode
-
getAtomSite
int getAtomSite()
-
getBondedAtomIndex
int getBondedAtomIndex(int j)
-
getCovalentBondCount
int getCovalentBondCount()
Description copied from interface:SimpleNodeGet the total number of covalent bonds, thus not including hydrogen bonds.- Specified by:
getCovalentBondCountin interfaceSimpleNode- Returns:
- number of bonds
-
getCovalentHydrogenCount
int getCovalentHydrogenCount()
-
getEdges
Edge[] getEdges()
Description copied from interface:SimpleNodeGet the bond array, including hydrogen bonds.- Specified by:
getEdgesin interfaceSimpleNode- Returns:
- number of bonds
-
getElementNumber
int getElementNumber()
- Specified by:
getElementNumberin interfaceSimpleNode- Returns:
- the atomic number for this aotm
-
getFormalCharge
int getFormalCharge()
- Specified by:
getFormalChargein interfaceSimpleNode- Returns:
- the formal charge for this atom
-
getIndex
int getIndex()
- Specified by:
getIndexin interfaceSimpleNode- Returns:
- the unique ID number associated with this atom (which in Jmol is its position in the atoms[] array
-
getIsotopeNumber
int getIsotopeNumber()
- Specified by:
getIsotopeNumberin interfaceSimpleNode
-
getValence
int getValence()
- Specified by:
getValencein interfaceSimpleNode- Returns:
- the sum of the bond orders for this atom
-
set
void set(float x, float y, float z)
-
getMoleculeNumber
int getMoleculeNumber(boolean inModel)
-
getMass
float getMass()
- Specified by:
getMassin interfaceSimpleNode- Returns:
- the mass or, if specified, the mass number
-
getFloatProperty
float getFloatProperty(java.lang.String property)
- Parameters:
property- "property_xxxx"- Returns:
- value or Float.NaN
-
findAtomsLike
javajs.util.BS findAtomsLike(java.lang.String substring)
-
getAtomType
java.lang.String getAtomType()
-
getModelIndex
int getModelIndex()
-
getAtomNumber
int getAtomNumber()
-
getImplicitHydrogenCount
int getImplicitHydrogenCount()
can be > 0 for PDB model with no H atoms or for SMILES string CCC- Returns:
- number of missing H atoms
-
getCovalentBondCountPlusMissingH
int getCovalentBondCountPlusMissingH()
includes actual + missing- Returns:
- actual + missing
-
getTotalHydrogenCount
int getTotalHydrogenCount()
-
getTotalValence
int getTotalValence()
-
getCIPChirality
java.lang.String getCIPChirality(boolean doCalculate)
-
getCIPChiralityCode
int getCIPChiralityCode()
-
setCIPChirality
void setCIPChirality(int c)
- Specified by:
setCIPChiralityin interfaceSimpleNode
-
getXYZ
javajs.util.P3 getXYZ()
- Specified by:
getXYZin interfaceSimpleNode- Returns:
- the position of this atom
-
modelIsRawPDB
boolean modelIsRawPDB()
-
getBioStructureTypeName
java.lang.String getBioStructureTypeName()
-
getGroup1
java.lang.String getGroup1(char c0)
-
getGroup3
java.lang.String getGroup3(boolean allowNull)
-
getResno
int getResno()
-
getInsertionCode
char getInsertionCode()
-
getChainID
int getChainID()
-
getChainIDStr
java.lang.String getChainIDStr()
-
getOffsetResidueAtom
int getOffsetResidueAtom(java.lang.String name, int offset)
-
getCrossLinkVector
boolean getCrossLinkVector(javajs.util.Lst<java.lang.Integer> vReturn, boolean crosslinkCovalent, boolean crosslinkHBond)
-
getGroupBits
void getGroupBits(javajs.util.BS bs)
-
isLeadAtom
boolean isLeadAtom()
-
isCrossLinked
boolean isCrossLinked(Node node)
-
isPurine
boolean isPurine()
-
isPyrimidine
boolean isPyrimidine()
-
isDeleted
boolean isDeleted()
-
getBioSmilesType
char getBioSmilesType()
-
-