javax.vecmath

Class TexCoord2f

Implemented Interfaces:
Serializable

public class TexCoord2f
extends Tuple2f
implements Serializable

A 2 element texture coordinate that is represented by single precision floating point x,y coordinates.
Version:
specification 1.1, implementation $Revision: 1.8 $, $Date: 1999/10/05 07:03:50 $
Author:
Kenji hiranabe

Field Summary

Fields inherited from class javax.vecmath.Tuple2f

x, y

Constructor Summary

TexCoord2f()
Constructs and initializes a TexCoord2f to (0,0).
TexCoord2f(float x, float y)
Constructs and initializes a TexCoord2f from the specified xy coordinates.
TexCoord2f(TexCoord2f v1)
Constructs and initializes a TexCoord2f from the specified TexCoord2f.
TexCoord2f(Tuple2f t1)
Constructs and initializes a TexCoord2f from the specified Tuple2f.
TexCoord2f(v[] )
Constructs and initializes a TexCoord2f from the specified array.

Method Summary

Methods inherited from class javax.vecmath.Tuple2f

absolute, absolute, add, add, clamp, clamp, clampMax, clampMax, clampMin, clampMin, epsilonEquals, equals, equals, get, hashCode, interpolate, interpolate, negate, negate, scale, scale, scaleAdd, scaleAdd, set, set, set, set, sub, sub, toString

Constructor Details

TexCoord2f

public TexCoord2f()
Constructs and initializes a TexCoord2f to (0,0).

TexCoord2f

public TexCoord2f(float x,
                  float y)
Constructs and initializes a TexCoord2f from the specified xy coordinates.
Parameters:
x - the x coordinate
y - the y coordinate

TexCoord2f

public TexCoord2f(TexCoord2f v1)
Constructs and initializes a TexCoord2f from the specified TexCoord2f.
Parameters:
v1 - the TexCoord2f containing the initialization x y data

TexCoord2f

public TexCoord2f(Tuple2f t1)
Constructs and initializes a TexCoord2f from the specified Tuple2f.
Parameters:
t1 - the Tuple2f containing the initialization x y data

TexCoord2f

public TexCoord2f(v[] )
Constructs and initializes a TexCoord2f from the specified array.
Parameters: