Menu

#7 Trees drawn in upper right corner

open
5
2006-10-16
2006-10-16
James Slack
No

Repeatable:

1) Grow until area above and below marked groups are
very small (may take several shrinks and grows to find
a very small size, perhaps less than the min periphery)

2) Shrink once, causes entire tree to be drawn in upper
right corner, believed to be bounded at 0,0 with
everything at size 0.

also:

1) shrink subtree until very small
2) grow once

Discussion

  • James Slack

    James Slack - 2006-10-17

    Logged In: YES
    user_id=774035

    NaN, 0 or 1 computed for split line ratios
    Fixed by setting ratio to a small number (1e-10) for NaN and
    0, 1-small for 1

    There must always be a positive non-zero distance between
    each pair of split lines.

     
  • James Slack

    James Slack - 2007-02-26

    Logged In: YES
    user_id=774035
    Originator: YES

    Setting split lines to small (close to 0) or large (close to 1) values isn't a good fix. A better fix would be to keep the original value and terminate the resizing higher in the hierarchy. Small changes that resolve to under a fraction of a pixel (thinking smaller than a tenth of a pixel?) won't make a visual difference and should be prevented.

     

Log in to post a comment.