dzzd
Interface IFace3D


public interface IFace3D

Interface used for accessing to a 3d mesh face.

Since:
1.0
Version:
1.0, 01/01/04
Author:
Bruno Augier
See Also:
IMesh3D

Method Summary
 float getMappingU(int numVertex)
          Get U mapping value for selected vertex.
 float getMappingV(int numVertex)
          Get V mapping value for selected vertex.
 IMaterial getMaterial()
          Get interface to this face material
 double getPA()
           
 double getPB()
           
 double getPC()
           
 double getPD()
           
 double getSphereBox()
           
 IVertex3D getVertex3D0()
          Get interface to access one of the three vertices of this face.
 IVertex3D getVertex3D1()
           
 IVertex3D getVertex3D2()
           
 void setMappingU(int numVertex, float val)
          Set U mapping value for selected vertex.
 void setMappingV(int numVertex, float val)
          Set V mapping value for selected vertex.
 

Method Detail

getMaterial

public IMaterial getMaterial()
Get interface to this face material

Returns:
interface to access this face material
Since:
1.0

getVertex3D0

public IVertex3D getVertex3D0()
Get interface to access one of the three vertices of this face.

if param numVertex is out of the range 0-2 than null is returned

Returns:
interface to access to selected vertex (null if vertex does not exist
Since:
1.0

getVertex3D1

public IVertex3D getVertex3D1()

getVertex3D2

public IVertex3D getVertex3D2()

getMappingU

public float getMappingU(int numVertex)
Get U mapping value for selected vertex.

if param numVertex is out of the range 0-2 than 0 is returned

Parameters:
numVertex - vertex mapping coordinate to return
Returns:
U mapping coordinate for selected vertex
Since:
1.0

getMappingV

public float getMappingV(int numVertex)
Get V mapping value for selected vertex.

if param numVertex is out of the range 0-2 than 0 is returned

Parameters:
numVertex - vertex mapping coordinate to return
Returns:
V mapping coordinate for selected vertex
Since:
1.0

setMappingU

public void setMappingU(int numVertex,
                        float val)
Set U mapping value for selected vertex.

if param numVertex is out of the range 0-2 than it will return immediatly without doing anything

Parameters:
numVertex - vertex mapping coordinate to change
val - new U mapping coordinate for selected vertex
Since:
1.0

setMappingV

public void setMappingV(int numVertex,
                        float val)
Set V mapping value for selected vertex.

if param numVertex is out of the range 0-2 than it will return immediatly without doing anything

Parameters:
numVertex - vertex mapping coordinate to change
val - new V mapping coordinate for selected vertex
Since:
1.0

getPA

public double getPA()

getPB

public double getPB()

getPC

public double getPC()

getPD

public double getPD()

getSphereBox

public double getSphereBox()