de.javagl.simplemesh
Interface Vertex

All Superinterfaces:
Indexed, java.io.Serializable
All Known Implementing Classes:
DefaultVertex

public interface Vertex
extends Indexed, java.io.Serializable

Interface for a simple indexed vertex in 3D


Method Summary
 float getX()
          Returns the x-coordinate of this vertex
 float getY()
          Returns the y-coordinate of this vertex
 float getZ()
          Returns the z-coordinate of this vertex
 void setX(float x)
          Set the x-coordinate of this vertex
 void setY(float y)
          Set the y-coordinate of this vertex
 void setZ(float z)
          Set the z-coordinate of this vertex
 
Methods inherited from interface de.javagl.simplemesh.Indexed
getIndex
 

Method Detail

getX

float getX()
Returns the x-coordinate of this vertex

Returns:
The x-coordinate of this vertex

getY

float getY()
Returns the y-coordinate of this vertex

Returns:
The y-coordinate of this vertex

getZ

float getZ()
Returns the z-coordinate of this vertex

Returns:
The z-coordinate of this vertex

setX

void setX(float x)
Set the x-coordinate of this vertex

Parameters:
x - The x-coordinate of this vertex

setY

void setY(float y)
Set the y-coordinate of this vertex

Parameters:
y - The y-coordinate of this vertex

setZ

void setZ(float z)
Set the z-coordinate of this vertex

Parameters:
z - The z-coordinate of this vertex