|
|
AddDistanceConstraint(...)
AddDistanceConstraint( (ForceField)self, (int)idx1, (int)idx2, (float)minLen, (float)maxLen, (float)forceConstant) -> None :
Adds a distance constraint to the force field. |
|
|
|
|
AddExtraPoint(...)
AddExtraPoint( (ForceField)self, (float)x, (float)y, (float)z [, (bool)fixed=True]) -> int :
Adds an extra point, this can be useful for adding constraints. |
|
|
|
|
CalcEnergy(...)
CalcEnergy( (ForceField)arg1) -> float :
Returns the energy of the current arrangement |
|
|
|
|
GetExtraPointPos(...)
GetExtraPointPos( (ForceField)self, (int)idx) -> object :
returns the location of an extra point as a tuple |
|
|
|
|
Initialize(...)
Initialize( (ForceField)arg1) -> None :
initializes the force field (call this before minimizing) |
|
|
|
|
Minimize(...)
Minimize( (ForceField)arg1 [, (int)maxIts=200 [, (float)forceTol=0.0001 [, (float)energyTol=9.9999999999999995e-07]]]) -> int :
Runs some minimization iterations. |
|
|
|
|
|
|
|
|
|
Inherited from unreachable.instance:
__new__
Inherited from object:
__delattr__,
__format__,
__getattribute__,
__hash__,
__reduce_ex__,
__repr__,
__setattr__,
__sizeof__,
__str__,
__subclasshook__
|