Have a look at SweeplineNestedRingTester - it is currently the only remaining class in JTS which uses sweepline.

(You are best to load the JTS source into an IDE and inspect it that way - that will tell you where classes are used, and let you inspect them in action).

Generally sweepline has been superseded by the tree-based spatial indexes (STRtree and Quadtree). The reason for this is that they are updatable (quadtree anyway) and more general-purpose than sweepline. There's lot of examples of using them. You should also check out PreparedGeometry, for efficient intersects testing.

Jody Marca wrote:
I saw com.vividsolutions.jts.index.sweepline package but I don't found any example or tutorial that explain me how to use it.
Could someone help me?
Regards
  Jody
------------------------------------------------------------------------

_______________________________________________
jts-devel mailing list
jts-devel@lists.jump-project.org
http://lists.refractions.net/mailman/listinfo/jts-devel

--
Martin Davis
Senior Technical Architect
Refractions Research, Inc.
(250) 383-3022

_______________________________________________
jts-devel mailing list
jts-devel@lists.jump-project.org
http://lists.refractions.net/mailman/listinfo/jts-devel

Reply via email to