de.javagl.utils.obj
Interface FloatTuple

All Known Implementing Classes:
DefaultFloatTuple

public interface FloatTuple

Interface for tuples consisting of float values


Method Summary
 float get(int index)
          Return the specified component of this tuple
 int getDimensions()
          Return the dimensions of this tuple
 float getW()
          Return the w-component of this tuple
 float getX()
          Return the x-component of this tuple
 float getY()
          Return the y-component of this tuple
 float getZ()
          Return the z-component of this tuple
 

Method Detail

getX

float getX()
Return the x-component of this tuple

Returns:
The x-component of this tuple

getY

float getY()
Return the y-component of this tuple

Returns:
The y-component of this tuple

getZ

float getZ()
Return the z-component of this tuple

Returns:
The z-component of this tuple

getW

float getW()
Return the w-component of this tuple

Returns:
The w-component of this tuple

get

float get(int index)
Return the specified component of this tuple

Parameters:
index - The index of the component
Returns:
The specified component of this tuple

getDimensions

int getDimensions()
Return the dimensions of this tuple

Returns:
The dimensions of this tuple