Brian, please send these questions to the JTS list so all can share.
Yes, setQuadrantSegments is irrelevant if JOIN_MITRE is used.
For an explanation of mitre limit see the Javadoc:
http://tsusiatsoftware.net/jts/javadoc/com/vividsolutions/jts/operation/buffer/BufferParameters.html#setMitreLimit(double)
On Sun, Dec 1, 2013 at 8:44 AM, Brian Sanjeewa Rupasinghe <[email protected]
> wrote:
> Hi Martin,
>
> In the code i sent for setting parameters in buffering, i suppose
> BufP.setQuadrantSegments(1)
> does not make any sense for Join_Meter style . What is meant by setting a
> value to Default_Meter_Limit? Will it be more the value, more pointing at
> corners??
>
> Cheers, Brian
>
>
> On Thu, Nov 28, 2013 at 10:10 PM, Brian Sanjeewa Rupasinghe <
> [email protected]> wrote:
>
>> Here is the method and the polygon i used with a +- 20 m distance.
>>
>> public static Geometry bufferPlusMinus (Geometry g, double dst1, double
>> dst2)
>> {
>> BufferParameters BufP = new BufferParameters();
>> BufP.setEndCapStyle(3);
>> BufP.setJoinStyle(2);
>> BufP.setQuadrantSegments(1);
>> BufferBuilder Buffb = new BufferBuilder(BufP);
>> Geometry BuffG = Buffb.buffer(g, dst1);
>> Geometry fp = Buffb.buffer(BuffG, dst2);
>> return fp;
>> }
>>
>>
>>
>>
>> POLYGON ((852.0508353104653 79.66036245972747, 785.3441701464214
>> -13.474425749638762, 721.4579830330817 -14.427950930434887,
>> 718.7632379569188 10.092344825531626, 718.535947988926 20.8108253483052,
>> 739.5010955848701 12.351204388538228, 734.8751753004104 4.721699044367739,
>> 776.4081693414112 6.153871252678144, 785.3441701464214 12.270754131856343,
>> 831.0856877145211 70.0973126791213, 814.1664457949871 71.5685511069069,
>> 803.8677768004884 81.49941049445935, 852.0508353104653 79.66036245972747))
>>
>>
>>
------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT
organizations don't have a clear picture of how application performance
affects their revenue. With AppDynamics, you get 100% visibility into your
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk
_______________________________________________
Jts-topo-suite-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jts-topo-suite-user