New to cgal-bindings (java) - visualization

43 views
Skip to first unread message

martin tomko

unread,
Nov 27, 2014, 11:13:50 AM11/27/14
to cgal-bindi...@googlegroups.com
Dear all,
thanks for this great way to enable CGAL to non-C folks.

I have successfully installed the bindings and executed some of the examples through Eclipse, so I am on my way.,

Any suggestion (exexcutable examples, by pref) on how to easily visualize or export (as data) the outputs through Java  would be appreciated. Now, I am not after fancy 3D meshed, all of my efforts are driven towards the ability to construct, and export
line segment (or rather, mixture of segment and point) voronoi diagrams (http://doc.cgal.org/latest/Segment_Delaunay_graph_2/index.html ).

Ultimately I will try to bridge the generated voronoi diagrams to GeoJSON or some other processable output.

Thanks,
martin

Sebastien Loriot (GeometryFactory)

unread,
Dec 2, 2014, 7:19:37 AM12/2/14
to cgal-bindi...@googlegroups.com
On 11/27/2014 05:13 PM, martin tomko wrote:
> Dear all,
> thanks for this great way to enable CGAL to non-C folks.
>
Hi,

> I have successfully installed the bindings and executed some of the
> examples through Eclipse, so I am on my way.,
>
> Any suggestion (exexcutable examples, by pref) on how to easily
> visualize or export (as data) the outputs through Java would be
> appreciated. Now, I am not after fancy 3D meshed, all of my efforts are
> driven towards the ability to construct, and export
> line segment (or rather, mixture of segment and point) voronoi diagrams
> (http://doc.cgal.org/latest/Segment_Delaunay_graph_2/index.html ).
>
> Ultimately I will try to bridge the generated voronoi diagrams to
> GeoJSON or some other processable output.
>
Sorry I don't have any experience in visualization in java but I guess
there is nothing specific to CGAL here so a general java forum might help.

Best,

Sebastien.



> Thanks,
> martin
>
> --
> You received this message because you are subscribed to the Google
> Groups "CGAL Bindings discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to cgal-bindings-di...@googlegroups.com
> <mailto:cgal-bindings-di...@googlegroups.com>.
> For more options, visit https://groups.google.com/d/optout.

martin tomko

unread,
Dec 3, 2014, 2:27:33 PM12/3/14
to cgal-bindi...@googlegroups.com
Thanks Sebastien,
maybe I should phrase this differently - do people use some simple method to visualize that their results are correct?
Or, is there a simple way to serialise the results of the calculation ( into GeoJSON or WKT) to export the Voronoi regions? My understanding of CGAL is so far weak ( even the coordinate system is unclear), but my impression is that the curved geometries are not stored in a discretized method, hence my question.

Similarly, does anyone have experience in importing gis type data  (GeoJSON or similar, for example as sources of Voronoi generators?)

Thanks,
Martin
Reply all
Reply to author
Forward
0 new messages