org.deegree_impl.services.wts.util
Class IMGtoTINArrayConverter

java.lang.Object
  extended byorg.deegree_impl.services.wts.util.IMGtoTINArrayConverter

public class IMGtoTINArrayConverter
extends java.lang.Object

-----------------------------------------------------------------------

Version:
$Revision: 1.1 $ $Date: 2004/03/02 07:38:14 $
Author:
Andreas Poth

Constructor Summary
IMGtoTINArrayConverter()
           
 
Method Summary
static GeometryArray convertToArray(float[][] values, boolean enableTexture, GM_Surface ring, float scale)
          Convert heightmap values to triangle array, with textures, normals and everything..
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IMGtoTINArrayConverter

public IMGtoTINArrayConverter()
Method Detail

convertToArray

public static GeometryArray convertToArray(float[][] values,
                                           boolean enableTexture,
                                           GM_Surface ring,
                                           float scale)
Convert heightmap values to triangle array, with textures, normals and everything.. The TriangleArray object draws the array of vertices as individual triangles. Each group of three vertices defines a triangle to be drawn.

Parameters:
values - heightmap values
Returns:
created array