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
b1a9e58a
Commit
b1a9e58a
authored
12 years ago
by
Tobias Schmidt
Browse files
Options
Downloads
Patches
Plain Diff
add documentation for connect function
parent
835e58d7
Branches
Branches containing commit
Tags
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/editors.rst
+17
-0
17 additions, 0 deletions
modules/mol/base/doc/editors.rst
with
17 additions
and
0 deletions
modules/mol/base/doc/editors.rst
+
17
−
0
View file @
b1a9e58a
...
...
@@ -213,6 +213,23 @@ The basic functionality of editors is implemented in the EditorBase class.
valid atom identifier.
:type new_name: string
.. method:: Connect(atom1, atom2)
Connect(atom1, atom2, bond_order)
Add a bond between two atoms.
:param atom1: Must be a valid atom
:type atom1: :class:`AtomHandle`
:param atom2: Must be a valid atom
:type atom2: :class:`AtomHandle`
:param bond_order: bond order (e.g. 1=single, 2=double, 3=triple)
:type bond_order: :class:`int`
BondHandle (EditorBase::*connect_b)(const AtomHandle&, const AtomHandle&,
Real, Real, Real)=&EditorBase::Connect;
BondHandle (EditorBase::*connect_d)(const AtomHandle&, const AtomHandle&,
Real, Real, Real,
unsigned char)=&EditorBase::Connect;
Editor for the External Coordinate System
--------------------------------------------------------------------------------
...
...
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