public class SVertex extends Object implements Vertex
Modifier and Type | Class and Description |
---|---|
static class |
SVertex.Factory |
Constructor and Description |
---|
SVertex() |
SVertex(float[] coordsBuffer,
int offset,
int length,
boolean onCurve) |
SVertex(float x,
float y,
float z,
boolean onCurve) |
SVertex(int id,
boolean onCurve,
float[] texCoordsBuffer) |
SVertex(Vertex src) |
Modifier and Type | Method and Description |
---|---|
SVertex |
clone() |
boolean |
equals(Object obj) |
static SVertex.Factory |
factory() |
float[] |
getCoord() |
int |
getCoordCount() |
int |
getId() |
float[] |
getTexCoord() |
float |
getX() |
float |
getY() |
float |
getZ() |
int |
hashCode() |
boolean |
isOnCurve() |
void |
setCoord(float[] coordsBuffer,
int offset,
int length) |
void |
setCoord(float x,
float y,
float z) |
void |
setId(int id) |
void |
setOnCurve(boolean onCurve) |
void |
setTexCoord(float[] texCoordsBuffer,
int offset,
int length) |
void |
setTexCoord(float s,
float t,
float p) |
void |
setX(float x) |
void |
setY(float y) |
void |
setZ(float z) |
String |
toString() |
public SVertex()
public SVertex(Vertex src)
public SVertex(int id, boolean onCurve, float[] texCoordsBuffer)
public SVertex(float x, float y, float z, boolean onCurve)
public SVertex(float[] coordsBuffer, int offset, int length, boolean onCurve)
public static SVertex.Factory factory()
public final void setCoord(float x, float y, float z)
public final void setCoord(float[] coordsBuffer, int offset, int length)
setCoord
in interface Vertex
for thrown IndexOutOfBoundsException
public int getCoordCount()
getCoordCount
in interface Vert2fImmutable
public final float[] getCoord()
getCoord
in interface Vert2fImmutable
public final float getX()
getX
in interface Vert2fImmutable
public final float getY()
getY
in interface Vert2fImmutable
public final float getZ()
getZ
in interface Vert3fImmutable
public final void setOnCurve(boolean onCurve)
setOnCurve
in interface Vertex
public boolean equals(Object obj)
public final float[] getTexCoord()
getTexCoord
in interface Vertex
public final void setTexCoord(float s, float t, float p)
setTexCoord
in interface Vertex
public final void setTexCoord(float[] texCoordsBuffer, int offset, int length)
setTexCoord
in interface Vertex
for thrown IndexOutOfBoundsException
public SVertex clone()
Copyright 2010 JogAmp Community.