[instancer.solver] More API doc

This commit is contained in:
Behdad Esfahbod 2022-08-08 12:07:04 -06:00
parent 7d15e33e69
commit 948788adaf

View File

@ -145,7 +145,8 @@ def _solve(tent, axisLimit):
def rebaseTent(tent, axisLimit):
"""Given a tuple (lower,peak,upper) "tent" and new axis limits
(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
(scalar,tent), where scalar is a multipler to multiply any