public interface FloatTuple
| Modifier and Type | Method and Description |
|---|---|
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
|
float getX()
IndexOutOfBoundsException - If this tuple has less than 1
dimensionfloat getY()
IndexOutOfBoundsException - If this tuple has less than 2
dimensionsfloat getZ()
IndexOutOfBoundsException - If this tuple has less than 3
dimensionsfloat getW()
IndexOutOfBoundsException - If this tuple has less than 4
dimensionsfloat get(int index)
index - The index of the componentIndexOutOfBoundsException - If the given index is negative
or not smaller than the dimensionsint getDimensions()
Copyright © 2015. All rights reserved.