Top Description Fields Constructors Methods
javax.vecmath

public Class TexCoord2f

extends Tuple2f
implements Serializable
Class Inheritance
All Implemented Interfaces
java.io.Serializable
Imports
java.lang.Math

A 2-element vector that is represented by single-precision floating point x,y coordinates.

Field Summary

Modifier and TypeField and Description
pack-priv static final long
Inherited from javax.vecmath.Tuple2f:
xy

Constructor Summary

AccessConstructor and Description
public
TexCoord2f(float
the x coordinate
x
,
float
the y coordinate
y
)

Constructs and initializes a TexCoord2f from the specified xy coordinates.

public
TexCoord2f(float[]
the array of length 2 containing xy in order
v
)

Constructs and initializes a TexCoord2f from the specified array.

public
TexCoord2f(TexCoord2f
the TexCoord2f containing the initialization x y data
v1
)

Constructs and initializes a TexCoord2f from the specified TexCoord2f.

public
TexCoord2f(Tuple2f
the Tuple2f containing the initialization x y data
t1
)

Constructs and initializes a TexCoord2f from the specified Tuple2f.

public
TexCoord2f()

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

Method Summary

Inherited from javax.vecmath.Tuple2f:
absoluteabsoluteaddaddclampclampclampMaxclampMaxclampMinclampMincloneepsilonEqualsequalsequalsgetgetXgetYhashCodeinterpolateinterpolatenegatenegatescalescalescaleAddscaleAddsetsetsetsetsetXsetYsubsubtoString

Field Detail

serialVersionUIDback to summary
pack-priv static final long serialVersionUID

Hides javax.vecmath.Tuple2f.serialVersionUID.

Constructor Detail

TexCoord2fback to summary
public TexCoord2f(float x, float y)

Constructs and initializes a TexCoord2f from the specified xy coordinates.

Parameters
x:float

the x coordinate

y:float

the y coordinate

TexCoord2fback to summary
public TexCoord2f(float[] v)

Constructs and initializes a TexCoord2f from the specified array.

Parameters
v:float[]

the array of length 2 containing xy in order

TexCoord2fback to summary
public TexCoord2f(TexCoord2f v1)

Constructs and initializes a TexCoord2f from the specified TexCoord2f.

Parameters
v1:TexCoord2f

the TexCoord2f containing the initialization x y data

TexCoord2fback to summary
public TexCoord2f(Tuple2f t1)

Constructs and initializes a TexCoord2f from the specified Tuple2f.

Parameters
t1:Tuple2f

the Tuple2f containing the initialization x y data

TexCoord2fback to summary
public TexCoord2f()

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