[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gEDA-dev:0001-Altered-point-selection-mechanism-to-use-distance-in.patch
On Jul 19, 2008, at 4:09 AM, Peter Clifton wrote:
> I am concerned it might increase the run time somewhat for selecting
> objects on a complex board.
It does.
>
>
> Can you keep the inside_region() test somewhere as a first filter, to
> ensure that we don't have to compute shortest distances to a great
> number of objects on the board, or inside complex objects which aren't
> anywhere near the hit.
Err, this is good idea. I'll put it in.
>
> On a similar thinking.. text is very complex (made up of lots of
> lines).
> I'd be inclined to use the shortest distance to its bounding box if
> this
> simplification doesn't harm the effect you're after.
I'm guessing that using inside_region() as the first filter will
lessen the computational burden for text. To even perform the
operation on text, the user must click within the rectangular bounds.
To perform the operation on multiple text objects, they must overlap
and the user must click in the overlapping rectangle. With the
inside_region() as the first filter, I'm inclined to leave the
shortest distance for text as is...
Cheers,
Ed
_______________________________________________
geda-dev mailing list
geda-dev@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-dev