org.deegree.rendering.r3d.opengl.tesselation
Class Vertex

java.lang.Object
  extended by org.deegree.rendering.r3d.opengl.tesselation.Vertex
Direct Known Subclasses:
TexturedVertex

public class Vertex
extends Object

The Vertex helper class for the tesselation algorithm

Version:
$Revision: 30126 $, $Date: 2011-03-22 11:11:00 +0100 (Tue, 22 Mar 2011) $
Author:
Rutger Bezema, last edited by: $Author: aschmitz $

Method Summary
 float[] getCoords()
           
 double[] getCoordsAsDouble()
           
 float[] getNormal()
           
 float[] getNormalizedNormal()
           
 boolean hasNormal()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getCoordsAsDouble

public double[] getCoordsAsDouble()
Returns:
the x, y ,z as a double array

getCoords

public float[] getCoords()
Returns:
the x, y ,z as a an array

getNormal

public float[] getNormal()
Returns:
the x, y ,z as a an array

getNormalizedNormal

public float[] getNormalizedNormal()
Returns:
the x, y ,z as a an array

hasNormal

public boolean hasNormal()
Returns:
true if the normal != null

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2011. All Rights Reserved.