artofillusion.object
Class TriangleMesh.Edge

java.lang.Object
  extended by artofillusion.object.TriangleMesh.Edge
Enclosing class:
TriangleMesh

public class TriangleMesh.Edge
extends java.lang.Object

An edge is defined by the two vertices which it connects, and the two faces it is adjacent to. For a boundary edge, f2 must equal -1. An edge also has a "smoothness" parameter.


Field Summary
 int f1
           
 int f2
           
 float smoothness
           
 int v1
           
 int v2
           
 
Constructor Summary
TriangleMesh.Edge(int vertex1, int vertex2, int face1)
           
 
Method Summary
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

v1

public int v1

v2

public int v2

f1

public int f1

f2

public int f2

smoothness

public float smoothness
Constructor Detail

TriangleMesh.Edge

public TriangleMesh.Edge(int vertex1,
                         int vertex2,
                         int face1)


Copyright © 1999-2011 by Peter Eastman.