|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IVertex
A point in space (x,y,z). This is used for Mesh rendering and is different to the Xyz object, in that it can contain a normal vector
| Method Summary | |
|---|---|
void |
addFaceNormal(IXyz faceNormal)
|
double |
distance(IVertex there)
Return the distance of this vertex from that one |
IXyz |
from(IVertex that)
Return the vector from that point to this one |
IXyz |
normal()
Return the normal |
void |
render(OpenGL gl)
|
void |
texmap(OpenGL gl)
|
double |
x()
X-coordinate of this point |
IXyz |
xyz()
This point as an IXyz object |
double |
y()
Y-coordinate of this point |
double |
z()
Z-coordinate of this point |
| Method Detail |
|---|
double x()
double y()
double z()
double distance(IVertex there)
IXyz from(IVertex that)
IXyz normal()
IXyz xyz()
void texmap(OpenGL gl)
void render(OpenGL gl)
void addFaceNormal(IXyz faceNormal)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||