Yes, DelaunayTriangulationBuilder is the easiest entry point for using the
JTS triangulation code.  If you want to manipulate the triangulation
further (e.g. delete edges) you'll need to operate on the underlying
QuadEdgeSubdivision.

There's some simple examples of using DTB here:
https://sourceforge.net/p/jts-topo-suite/code/HEAD/tree/trunk/jtsapp/src/main/java/com/vividsolutions/jtstest/function/TriangulationFunctions.java

There is a bit of overhead with using Geometry rather than Coordinates for
the setSites method, but it should be small in comparison to the cost of
building the triangulation.



On Tue, Sep 1, 2015 at 8:55 AM, Gary Lucas <[email protected]> wrote:

> I am looking into using the triangulation classes provided by the JTS
> Topology Suite.  I’ve scanned the Javadoc and there appears to be a couple
> of different classes and approaches that can be used for this purpose, I’m
> not sure about the best way to proceed.  Is there example code or a
> tutorial that you would recommend?  I took a quick look through the 1.13
> download, but nothing jumped out.
>
>
>
> Currently, I am looking at terrain surface elevation data collected using
> lidar. All coordinates are in a projected coordinate system.  For my
> purposes, that means that the horizontal coordinates are isotropic and can
> be treated as simple points on a Cartesian plane. In the first phase of my
> research, I am not worrying about break lines or other constraints, so can
> work with an ordinary Delaunay Triangulation.  Later on, I will want to
> consider constraints.
>
>
>
> One of my concerns is making sure I pick the API approach that is most
> efficient in terms of processing and economical in its use of memory.  I
> see that in the DelaunayTriangulationBuilder, there are two setSites
> methods, one that takes objects of type Geometry and one that takes objects
> of type Coordinate.  Is there a lot of overhead related to the Geometry
> approach?  Would using Coordinate be better? And is
> DelaunayTriangulationBuilder the right class to be looking at?
>
>
>
> Gary
>
>
>
>
>
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> Jts-topo-suite-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jts-topo-suite-user
>
>
------------------------------------------------------------------------------
_______________________________________________
Jts-topo-suite-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jts-topo-suite-user

Reply via email to