I made a simple cad application (just lines and boxes) to test developing with cascade.
I'm using autocad for comparing performance and I got a litle hurried.
I Have a drawing in autocad, a relative small one, with about 10,000 lines and some arcs, text and hatches.
I imported about 2,200 lines to the cascade aplication and performance was very bad.
I'm using a V3d_View and AIS in this application and I call MoveTo method in every mouse move.
This MoveTo is taking to much time to return.
I need the MoveTo calls because I'm trying to implement "object snap", something autocad also have, so I need to know the detected object in every move.
The lines in created as AIS_Shape and I'm also using the OCAF Document.
Can someone tell me what I can do to increase performance?
Thanks a lot.