[instancer.solver] More API doc
This commit is contained in:
parent
7d15e33e69
commit
948788adaf
@ -145,7 +145,8 @@ def _solve(tent, axisLimit):
|
|||||||
def rebaseTent(tent, axisLimit):
|
def rebaseTent(tent, axisLimit):
|
||||||
"""Given a tuple (lower,peak,upper) "tent" and new axis limits
|
"""Given a tuple (lower,peak,upper) "tent" and new axis limits
|
||||||
(axisMin,axisDefault,axisMax), solves how to represent the tent
|
(axisMin,axisDefault,axisMax), solves how to represent the tent
|
||||||
under the new axis configuration.
|
under the new axis configuration. All values are in normalized
|
||||||
|
-1,0,+1 coordinate system. Tent values can be outside this range.
|
||||||
|
|
||||||
Return value is a list of tuples. Each tuple is of the form
|
Return value is a list of tuples. Each tuple is of the form
|
||||||
(scalar,tent), where scalar is a multipler to multiply any
|
(scalar,tent), where scalar is a multipler to multiply any
|
||||||
|
Loading…
x
Reference in New Issue
Block a user