Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[udig-devel] Fork of BufferBuilder broken for JTS 1.9

Morning Mauricio;
You have a fork of the JTS 1.7 BufferBuilder class in es.axios.udig.spatialoperations ...
This is a slightly modified version of the original JTS 1.7.2 <code>BuferBuilder</code> class that allows for the operation to be cancelled by using a {@link IProgressMonitor}. No
 modification on the actual algorithms were made though.
By interacting with JTS at such a low level we have a fork breaks for JTS 1.9 :-(

The change for JTS 1.9 is the use of a parameter object for the various buffered parameters:
BufferParameters buffParameters;
buffParameters = new BufferParameters( quadrantSegments, endCapStyle );
OffsetCurveBuilder curveBuilder = new OffsetCurveBuilder(g.getPrecisionModel(), buffParameters );
See this blog post for details:
- http://lin-ear-th-inking.blogspot.com/2007/12/new-buffer-styles-in-jts-19.html




Back to the top