Was simply asking for the method to be named getControlPoints or
controlPoints or whatever the JTS naming convention is - I understand your
limits of funding :)



Jody Garnett


On Sat, Jun 14, 2014 at 7:18 PM, Andrea Aime <[email protected]>
wrote:

> On Sat, Jun 14, 2014 at 11:12 AM, Jody Garnett <[email protected]>
> wrote:
>
>>
>> When you mention control points I think beizer curves, which have no
>>> place is this proposal, we'll only support arcs of circle (which is also
>>> written in the proposal,
>>>
>>
>> Control points for an arc or circle are always "three": start point, end
>> point and any point on the middle. Circle just has the start and end at the
>> same location. If you call the method control points from the start we can
>> grow the solution for other curves as funding is made available.
>>
>
> Would be nice, but I don't have resources to work on a more general
> algorithm.
> For arcs of circles it's pretty simple, you decide on a sampling rate,
> which is directly related to the max distance from the sample lines
> to the circle, and then you just use basic trigonometry to compute the
> sample points.
>
> To sample general curves instead one has to take into account the point by
> point varying curvature, which demands more complex sampling methods
> (there are several research papers on the subject).
>
> Cheers
> Andrea
>
> --
> ==
> GeoServer Professional Services from the experts! Visit
> http://goo.gl/NWWaa2 for more information.
> ==
>
> Ing. Andrea Aime
> @geowolf
> Technical Lead
>
> GeoSolutions S.A.S.
> Via Poggio alle Viti 1187
> 55054  Massarosa (LU)
> Italy
> phone: +39 0584 962313
> fax: +39 0584 1660272
> mob: +39  339 8844549
>
> http://www.geo-solutions.it
> http://twitter.com/geosolutions_it
>
> -------------------------------------------------------
>
------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
_______________________________________________
GeoTools-Devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to