com.sun.j3d.utils.geometry
Class Stripifier.Face

java.lang.Object
  extended by com.sun.j3d.utils.geometry.Stripifier.Face
Enclosing class:
Stripifier

 class Stripifier.Face
extends java.lang.Object

Stores the information about the face of a triangle


Field Summary
(package private)  Stripifier.Edge[] edges
           
(package private)  int key
           
(package private)  int numNhbrs
           
(package private)  Stripifier.Vertex[] verts
           
 
Constructor Summary
Stripifier.Face(int index, Stripifier.Vertex v1, Stripifier.Vertex v2, Stripifier.Vertex v3)
          Creates a new Face with the three given vertices
 
Method Summary
(package private)  void counterEdgeDel(Stripifier.Edge edge)
           
(package private)  int findSharedEdge(int key)
          returns the index of the edge that is shared by the triangle specified by the key parameter
(package private)  int getEdgeIndex(Stripifier.Edge edge)
           
(package private)  int getNeighbor(int edge)
          returns the index of the face that neighbors the edge supplied by the parameter
(package private)  void printAdjacency()
           
(package private)  void printVertices()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

key

int key

numNhbrs

int numNhbrs

verts

Stripifier.Vertex[] verts

edges

Stripifier.Edge[] edges
Constructor Detail

Stripifier.Face

Stripifier.Face(int index,
                Stripifier.Vertex v1,
                Stripifier.Vertex v2,
                Stripifier.Vertex v3)
Creates a new Face with the three given vertices

Method Detail

getNeighbor

int getNeighbor(int edge)
returns the index of the face that neighbors the edge supplied by the parameter


findSharedEdge

int findSharedEdge(int key)
returns the index of the edge that is shared by the triangle specified by the key parameter


getEdgeIndex

int getEdgeIndex(Stripifier.Edge edge)

counterEdgeDel

void counterEdgeDel(Stripifier.Edge edge)

printAdjacency

void printAdjacency()

printVertices

void printVertices()


Copyright 1996-2008 Sun Microsystems, Inc. All Rights Reserved. Use is subject to license terms.