Subject:
|
Re: Automatic part selection query
|
Newsgroups:
|
lugnet.cad.mlcad, lugnet.cad
|
Date:
|
Wed, 7 Mar 2001 22:04:21 GMT
|
Viewed:
|
3434 times
|
| |
| |
"Michael Lachmann" <michael.lachmann@maxmobil.at> skrev i meddelandet
news:G9ty1F.CpH@lugnet.com...
>
> Regarding the selection, MLCad uses a special buffer which keeps track of
> the parts visible on the screen. For all other parts I would have to go
> through the list of triangles, lines and quads until I find something in the
> rectangle. This can take a long time since you have to check for each point
> on the screen within the rectangle, and some bigger models quickly can have
> millions of triangles ...
No need to test every line etc. - compute a bounding box (once) for each part,
and the testing boils down to a few transformations and a region intersect
test for each part. This should be fast enough.
Happy baby-sitting! My third, Jenny, is already 2 years old. They grow up much
too fast! Take care of every moment you can get with the child(ren).
--
Anders Isaksson, Sweden
BlockCAD: http://user.tninet.se/~hbh828t/proglego.htm
Gallery: http://user.tninet.se/~hbh828t/gallery/index.htm
|
|
Message is in Reply To:
| | Re: Automatic part selection query
|
| (...) Regarding the selection, MLCad uses a special buffer which keeps track of the parts visible on the screen. For all other parts I would have to go through the list of triangles, lines and quads until I find something in the rectangle. This can (...) (24 years ago, 7-Mar-01, to lugnet.cad.mlcad, lugnet.cad)
|
11 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|