[vtkusers] division by 0 in vtkLegendBoxActor

Jerome Coloos jerome.coloos at samcef.com
Fri Aug 3 05:03:45 EDT 2001


Hi all,

In vtkLegendBoxActor, I think there's a division by zero when the symbol is
the default (an horizontal line).

For this symbol : bounds[2]=bounds[3]=0
 and at line 559 of vtkLegendBoxActor.cxx : size[1]/(bounds[3]-bounds[2]) is
undefined .

This causes a core with some compilers (on Alpha especially).

__________________________________________
   ___    Jérôme COLOOS
 @/   \@  Tel : 32-4/361.69.69
  \° °/   Fax : 32-4/361.69.80
 ==\ /==  mailto:jerome.coloos at samcef.com
    °     http://www.samcef.com
SAMTECH s.a.
Parc Scientifique du Sart-Tilman
rue des Chasseurs-Ardennais, 8
B-4031 Angleur-LIEGE
___________________________________________





More information about the vtkusers mailing list