[jgrapht-users] doubt - LabeledElement
Brought to you by:
barak_naveh,
perfecthash
From: Anderson A. <and...@ya...> - 2006-11-13 13:31:18
|
Hi, I am trying to understand a code of a plugin which uses a previous version of jgrapht lib. There was a code which was using LabeledElement class to retrieve geographical informations, like this: Feature f = (Feature)((LabeledElement)list.get(i)).getLabel(); System.out.println(f.getGeometry()); /* The output is: LINESTRING (3015.39 2030.00, 2852.40 1808.96) */ Well, in JGraphT 0.7, the class LabeledElement was removed, how could I retrieve this information, using 0.7 lib, without the possibility of casting ? Is there any similar class ? Thanks, Anderson. ____________________________________________________________________________________ Do you Yahoo!? Everyone is raving about the all-new Yahoo! Mail beta. http://new.mail.yahoo.com |