|
deegree 2.5 (2011/06/29 09:44 build-8-official) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.deegree.ogcwebservices.wpvs.utils.VisADWrapper
public class VisADWrapper
A wrapper for VisAD objects. This class takes care of collecting points to build a TIN, of TIN creation itself and its output as a geometry collection.
Constructor Summary | |
---|---|
VisADWrapper(java.util.List<javax.vecmath.Point3d> ptsList,
double scale)
Initializes the object by creating a common domain field from the geometrical information (the envelope, the width and the height) supplied. |
Method Summary | |
---|---|
void |
addPoints(java.util.List<javax.vecmath.Point3d> points)
Add Point s to the internal list. |
void |
clear()
Clear all points and invalidate list. |
java.util.List<float[][]> |
getTriangleCollectionAsList()
Generates a list of tringles containing the triangles representing the TIN. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public VisADWrapper(java.util.List<javax.vecmath.Point3d> ptsList, double scale)
ptsList
- a list of Pointsscale
- to multiply to the z-valueMethod Detail |
---|
public final void addPoints(java.util.List<javax.vecmath.Point3d> points)
Point
s to the internal list. Lists without any elements (or null lists) are ignored.
points
- to be added to the listpublic final java.util.List<float[][]> getTriangleCollectionAsList()
float[3][3]
, each of which representing a TIN trianglepublic void clear()
|
deegree 2.5 (2011/06/29 09:44 build-8-official) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org