Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
openstructure
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
schwede
openstructure
Commits
a4f23eb9
Commit
a4f23eb9
authored
8 years ago
by
Gerardo Tauriello
Browse files
Options
Downloads
Patches
Plain Diff
Doc update - more on hash codes and AtomView class.
parent
fc4c4005
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
modules/mol/base/doc/entity.rst
+49
-9
49 additions, 9 deletions
modules/mol/base/doc/entity.rst
with
49 additions
and
9 deletions
modules/mol/base/doc/entity.rst
+
49
−
9
View file @
a4f23eb9
...
...
@@ -687,6 +687,18 @@ The Handle Classes
Atom index (starting at 0) within entity.
:type: int
.. attribute:: hash_code
A unique identifier for this atom. Note that a deep copy of an entity (see
:meth:`EntityHandle.Copy`) will have atoms with differing identifiers.
Shallow copies of the entity preserve the identifier. Atom views on a handle
have different identifiers, but the atom view handles (see
:attr:`AtomView.handle`) have the same identifier.
:type: int
.. method:: FindBondToAtom(other_atom)
Finds and returns the bond formed between this atom and `other_atom`. If no
...
...
@@ -745,7 +757,7 @@ The Handle Classes
.. method:: GetHashCode()
Returns a unique identifier for this atom.
See :attr:`hash_code`
:rtype: int
...
...
@@ -988,7 +1000,7 @@ The View Classes
:type pos: :class:`~ost.geom.Vec3`
:param radius:
:type radius: float
:rtype: class:`AtomViewList`
:rtype:
:
class:`AtomViewList`
.. method:: FindChain(chain_name)
...
...
@@ -998,7 +1010,7 @@ The View Classes
:type chain_name: str
:returns: The chain if present in the view, an invalid :class:`ChainView`
otherwise
:rtype: class:`ChainView`
:rtype:
:
class:`ChainView`
.. method:: FindResidue(residue)
...
...
@@ -1007,7 +1019,7 @@ The View Classes
:param residue: Residue handle
:type residue: ResidueHandle
:returns: The residue view pointing the the handle, or an invalid handle if the residue is not part of the view
:rtype: class:`ResidueView`
:rtype:
:
class:`ResidueView`
.. method:: FindAtom(chain_name, res_num, atom_name)
...
...
@@ -1017,7 +1029,7 @@ The View Classes
:type res_num: :class:`ResNum` or :class:`int`
:param atom_name: The name of the atom
:type atom_name: str
:rtype: class:`AtomView`
:rtype:
:
class:`AtomView`
.. method:: Select(query[, flags])
...
...
@@ -1093,7 +1105,7 @@ The View Classes
See :attr:`atoms`
:rtype: class:`AtomViewList`
:rtype:
:
class:`AtomViewList`
.. method:: GetBondCount()
...
...
@@ -1122,11 +1134,11 @@ The View Classes
See :attr:`handle`
:rtype: class:`EntityHandle`
:rtype:
:
class:`EntityHandle`
.. method:: GetResidueList()
:rtype: class:`ResidueViewList`
:rtype:
:
class:`ResidueViewList`
.. method:: GetGeometricEnd()
...
...
@@ -1136,7 +1148,7 @@ The View Classes
See :attr:`chains`
:rtype: class:`ChainViewList`
:rtype:
:
class:`ChainViewList`
.. method:: GetAtomCount()
...
...
@@ -1549,6 +1561,34 @@ The View Classes
:rtype: :class:`EntityView`
.. class:: AtomView
A view representation of an :class:`AtomHandle`. Mostly, the same
functionality is provided as for the handle.
.. attribute:: handle
The underlying :class:`AtomHandle` of the atom view. Also available as
:meth:`GetHandle`.
:type: :class:`AtomHandle`
.. attribute:: hash_code
A unique identifier for this atom view. Note, that this is not the same as
for the atom handle (see :attr:`AtomHandle.hash_code`).
:type: int
.. method:: GetHandle()
See :attr:`handle`
.. method:: GetHashCode()
See :attr:`hash_code`
Functions
--------------------------------------------------------------------------------
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment