| Trees | Indices | Help |
|
|---|
|
|
object --+
|
??.instance --+
|
ForceField
A force field
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
Inherited from Inherited from |
|||
|
|||
|
Inherited from |
|||
|
|||
Adds a distance constraint to the force field.
C++ signature:
AddDistanceConstraint(ForceFields::PyForceField* self, unsigned int idx1, unsigned int idx2, double minLen, double maxLen, double forceConstant) -> void*
|
Adds an extra point, this can be useful for adding constraints.
C++ signature:
AddExtraPoint(ForceFields::PyForceField {lvalue} self, double x, double y, double z, bool fixed=True) -> int
|
Returns the energy of the current arrangement
C++ signature:
CalcEnergy(ForceFields::PyForceField {lvalue}) -> double
|
returns the location of an extra point as a tuple
C++ signature:
GetExtraPointPos(ForceFields::PyForceField* self, unsigned int idx) -> _object*
|
initializes the force field (call this before minimizing)
C++ signature:
Initialize(ForceFields::PyForceField {lvalue}) -> void*
|
Runs some minimization iterations.
Returns 0 if the minimization succeeded.
C++ signature:
Minimize(ForceFields::PyForceField {lvalue}, int maxIts=200, double forceTol=0.0001, double energyTol=9.9999999999999995e-07) -> int
|
Raises an exception This class cannot be instantiated from Python
|
| Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0beta1 on Sat May 24 08:37:06 2008 | http://epydoc.sourceforge.net |