|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Used for accessing to a Face3D.
IMesh3D
Method Summary | |
void |
flipNormal()
Flip normal by reversing vertices order. |
float |
getMappingU(int numVertex)
Gets U mapping value for selected vertex. |
float |
getMappingV(int numVertex)
Gets V mapping value for selected vertex. |
IMaterial |
getMaterial()
Gets this face material. |
double |
getPA()
Gets the "a" parameter of the equation (a*x+b*y+c*z+d=0) for the plane that face lie on. |
double |
getPB()
Gets the "b" parameter of the equation (a*x+b*y+c*z+d=0) for the plane that face lie on. |
double |
getPC()
Gets the "c" parameter of the equation (a*x+b*y+c*z+d=0) for the plane that face lie on. |
double |
getPD()
Gets the "d" parameter of the equation (a*x+b*y+c*z+d=0) for the plane that face lie on. |
double |
getSphereBox()
Gets the radius of the surrounding sphere for this face relative to third vertex. |
IVertex3D |
getVertex3D0()
Gets interface the first vertex of this face. |
IVertex3D |
getVertex3D1()
Gets interface the second vertex of this face. |
IVertex3D |
getVertex3D2()
Gets interface the third vertex of this face. |
void |
setMappingU(int numVertex,
float val)
Sets U mapping value for selected vertex. |
void |
setMappingV(int numVertex,
float val)
Sets V mapping value for selected vertex. |
void |
setMaterial(IMaterial material)
Sets this face material. |
Method Detail |
public IMaterial getMaterial()
public void setMaterial(IMaterial material)
material
- new material or null to removepublic IVertex3D getVertex3D0()
public IVertex3D getVertex3D1()
public IVertex3D getVertex3D2()
public float getMappingU(int numVertex)
numVertex
- vertex mapping coordinate to return
public float getMappingV(int numVertex)
numVertex
- vertex mapping coordinate to return
public void setMappingU(int numVertex, float val)
numVertex
- vertex mapping coordinate to changeval
- new U mapping coordinate for selected vertexpublic void setMappingV(int numVertex, float val)
numVertex
- vertex mapping coordinate to changeval
- new V mapping coordinate for selected vertexpublic double getPA()
public double getPB()
public double getPC()
public double getPD()
public double getSphereBox()
public void flipNormal()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |