org.deegree_impl.services.wts.util
Class TINtoTINArrayConverter

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

public class TINtoTINArrayConverter
extends java.lang.Object

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

Version:
$Revision: 1.2 $ $Date: 2004/03/05 07:42:15 $
Author:
Andreas Poth

Constructor Summary
TINtoTINArrayConverter()
           
 
Method Summary
private static GM_Position[] ccw(GM_Position[] ring)
           
static GeometryArray convertToArray(FeatureCollection fc, boolean enableTexture, float scale)
          Converts the geometries of the feature of a feature collection to TINs stored in a javax.media.j3d.TriangleArray
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TINtoTINArrayConverter

public TINtoTINArrayConverter()
Method Detail

convertToArray

public static GeometryArray convertToArray(FeatureCollection fc,
                                           boolean enableTexture,
                                           float scale)
                                    throws GM_Exception
Converts the geometries of the feature of a feature collection to TINs stored in a javax.media.j3d.TriangleArray

Parameters:
fc - feature collection
enableTexture - true if the TINs shalled textured
scale - scale factor ( 1 = original height )
Returns:
Throws:
GM_Exception

ccw

private static GM_Position[] ccw(GM_Position[] ring)