MGeometricCenter

MGeometricCenter[ hexpr ]
returns the geometric center of hexpr atoms in the set atolist.
MGeometricCenter[ atolist ]
returns the geometric center of the atoms in the set atolist.
  • atolist is a list of molecula hierarchical expressions with heads MAtom.
  • Cartesian coordinates are used to compute the geometric center.
In[1]:=
Click for copyable input
Loads a sample chain:
In[2]:=
Click for copyable input
Computes the geometric center of the chain:
In[3]:=
Click for copyable input
Out[3]=
Loads a set of sample atoms:
In[4]:=
Click for copyable input
Computes the geometric center:
In[5]:=
Click for copyable input