Package org.jmol.util
Interface Node
- All Superinterfaces:
SimpleNode
- All Known Implementing Classes:
Atom,SmilesAtom
-
Method Summary
Modifier and TypeMethodDescriptionfindAtomsLike(String substring) intintintcharintgetBondedAtomIndex(int j) intgetCIPChirality(boolean doCalculate) intintGet the total number of covalent bonds, thus not including hydrogen bonds.intincludes actual + missingintbooleangetCrossLinkVector(Lst<Integer> vReturn, boolean crosslinkCovalent, boolean crosslinkHBond) Edge[]getEdges()Get the bond array, including hydrogen bonds.intint[CH2] for examplefloatgetFloatProperty(String property) intgetGroup1(char c0) getGroup3(boolean allowNull) voidgetGroupBits(BS bs) intcan be > 0 for PDB model with no H atoms or for SMILES string CCCintgetIndex()charintfloatgetMass()intintgetMoleculeNumber(boolean inModel) intgetOffsetResidueAtom(String name, int offset) intgetResno()intintintgetXYZ()booleanisCrossLinked(Node node) booleanbooleanbooleanisPurine()booleanbooleanvoidset(float x, float y, float z) voidsetCIPChirality(int c) Methods inherited from interface org.jmol.util.SimpleNode
getBondCount
-
Method Details
-
getAtomicAndIsotopeNumber
int getAtomicAndIsotopeNumber() -
getAtomName
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 atom
-
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
- Parameters:
property- "property_xxxx"- Returns:
- value or Float.NaN
-
findAtomsLike
-
getAtomType
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
-
getExplicitHydrogenCount
int getExplicitHydrogenCount()[CH2] for example- Returns:
- number of H atoms in brackets
-
getCovalentBondCountPlusMissingH
int getCovalentBondCountPlusMissingH()includes actual + missing- Returns:
- actual + missing
-
getTotalHydrogenCount
int getTotalHydrogenCount() -
getTotalValence
int getTotalValence() -
getCIPChirality
-
getCIPChiralityCode
int getCIPChiralityCode() -
setCIPChirality
void setCIPChirality(int c) - Specified by:
setCIPChiralityin interfaceSimpleNode
-
getXYZ
P3 getXYZ()- Specified by:
getXYZin interfaceSimpleNode- Returns:
- the position of this atom
-
modelIsRawPDB
boolean modelIsRawPDB() -
getBioStructureTypeName
String getBioStructureTypeName() -
getGroup1
-
getGroup3
-
getResno
int getResno() -
getInsertionCode
char getInsertionCode() -
getChainID
int getChainID() -
getChainIDStr
String getChainIDStr() -
getOffsetResidueAtom
-
getCrossLinkVector
-
getGroupBits
-
isLeadAtom
boolean isLeadAtom() -
isCrossLinked
-
isPurine
boolean isPurine() -
isPyrimidine
boolean isPyrimidine() -
isDeleted
boolean isDeleted() -
getBioSmilesType
char getBioSmilesType()
-