org.osm2world.core.target.common
Class FaceTarget.Face

Object
  extended by FaceTarget.Face
Enclosing class:
FaceTarget<R extends Renderable>

protected static final class FaceTarget.Face
extends Object

mutable representation of a face


Field Summary
 VectorXYZ normal
           
 List<List<VectorXZ>> texCoordLists
           
 List<VectorXYZ> vs
           
 
Constructor Summary
FaceTarget.Face(List<VectorXYZ> vs, List<List<VectorXZ>> texCoordLists, VectorXYZ normal)
           
 
Method Summary
 void removeDuplicateEdges()
           
 String toString()
           
 boolean tryInsert(FaceTarget.IsolatedTriangle t)
           
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

vs

public final List<VectorXYZ> vs

texCoordLists

public final List<List<VectorXZ>> texCoordLists

normal

public final VectorXYZ normal
Constructor Detail

FaceTarget.Face

public FaceTarget.Face(List<VectorXYZ> vs,
                       List<List<VectorXZ>> texCoordLists,
                       VectorXYZ normal)
Method Detail

tryInsert

public boolean tryInsert(FaceTarget.IsolatedTriangle t)
Returns:
true if the triangle has been successfully inserted

removeDuplicateEdges

public void removeDuplicateEdges()

toString

public String toString()
Overrides:
toString in class Object