highlighting of shapes with infinite lines in drawing

Hello
In my 3D view I have drawn some circles, and lines. With MoveTo I can highlight these AIS_Shapes. So far the correct behavior.

Now I add an infinite line into the drawing. From now the highlighting of the AIS_Shapes is no longer possible. MoveTo has no longer an effect.
Has anybody a solution for adding infinite lines without the loss of selection on other shapes?

for building the infinite line I use
BRepBuilderAPI_MakeEdge( new gp_Lin(point, direction))

Thank you in advance.
Peter

Peter Zbinden's picture

The behavior described above is also reproducible with Draw Test Harness:

pload -DrawPlugin VISUALIZATION
pload -DrawPlugin DEFAULT
vinit
box b 40 40 40 10 10 10
psphere s 20
vdisplay s b
vfit
line l 0 0 0 1 1 1
mkedge e l
vdisplay e

without "vdisplay e", box and sphere are highlightable by mouse
with "vdisplay e" box and sphere are not highlightable

Peter Zbinden's picture

I could solve the highlighting problem now. Now I use lines with a huge but finite length.