[Java-collab] Cubic splines in GML

Jody Garnett jody.garnett at gmail.com
Fri Aug 14 20:28:32 EDT 2009


I have a text book from university  - "Computer Graphics: Principles  
and Practice in C" which I dig up for such occasions. (No guessing  
when I went to university based on the text book). Perhaps you can  
find a pdf online?
Jody

On 15/08/2009, at 3:14 AM, Andrei Ionita wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi everyone,
>
> I am seeking help on understanding the concept that GML is defining  
> for
> cubic splines.
>
> Firstly, I have been looking at the GML definition of cubic splines  
> and
> wondering how to interpret it. There, a cubic spline consist of  
> control
> points and starting and ending tangent vectors. It appears as the
> piecewise cubic polynomials (that are defined mathematically for a  
> cubic
> spline) can be deduced from the two tangents, but how does one do  
> that?
>
> Or is the target of the GML type not one of defining a rigorous math  
> object?
>
> Apart from that however, I would also like to ask if some of you has
> ever stumbled upon a discrete algorithm for interpolating cubic
> splines, or at least can give me some literature references.
>
> In the meantime I found the GeoTools page
> http://docs.codehaus.org/display/GEOTDOC/01+How+to+Create+a+Geometry#01HowtoCreateaGeometry-Splines(arcswithmathsgalore)
>
> that contains an implementation. I will need to study the algorithm  
> from
> there a bit, but it looks good.
>
> Any suggestion on the subject would be appreciated. Thanks!
>
> Regards,
> Andrei
> - --
> Andrei Ionita
>
> l a t / l o n  GmbH
> Aennchenstrasse 19               53177 Bonn, Germany
> phone ++49 +228 18496-0          fax ++49 +228 18496-29
> http://www.lat-lon.de            http://www.deegree.org
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iEYEARECAAYFAkqFm2QACgkQ4pb290eLCNsuVACcCqSG3K6++HixEMe5gphnw3GY
> cyIAnia+Rl74HVGQCIzPX4P5MCskNPft
> =5uTQ
> -----END PGP SIGNATURE-----
> _______________________________________________
> Java-collab mailing list
> Java-collab at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/java-collab



More information about the Java-collab mailing list