Hi, how is it possible to save an object "Prs3d_Arrow"

It is possible, but it is very loud by saving a gp_Pnt, a gp_Dir, with an angle and a length. A possible solution is the use of an array of 8 Standard_Real.

Is it an easier way ?


Roman Lygin's picture

Hi Denis,

It's fully up to you how you would store it. Just make sure you store all parameters sufficient to rebuild the arrow. So, 8 reals seem to be enough (3 for location - gp_Pnt, 3 for direction - gp_Dir, 1 for angle and 1 for length).