JavaView® v2.00.a4 Debug

jv.geom
Class PgTetraEdge

java.lang.Object
  |
  +--jv.geom.PgTetraEdge

public class PgTetraEdge
extends java.lang.Object
implements java.io.Serializable

Class where the data related to one edge can be organized. That is the two vertex indices of its end points and a list of adjacent tetrahedrons with the local index of this edge inside each of them. The local edge can be seen in indexing.gif.

Version:
26.11.99, 1.00
Author:
Samy Khadem-Al-Charieh
See Also:
Serialized Form

Field Summary
 PiVector m_edgeIndex
          A PiVector list with the local edge indices of this edge in the corresponding tetrahedrons.
 PiVector m_tetraIndex
          A PiVector list with the (global) tetrahedron indices.
 int[] m_vertexIndex
          An int array with the two vertex indices of the edges end points.
 
Constructor Summary
PgTetraEdge()
           
 
Method Summary
 int getEdgeIndex(int index)
          Returns an int with the edge index of this edge inside the specified tetrahedron.
 int getSize()
          Returns currently available number of adjacent elements.
 int getTetraIndex(int index)
          Returns an int with the global index of the tetrahedron at the specified list position.
 void setSize(int size)
          Sets number of adjacent tetrahedrons.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_edgeIndex

public PiVector m_edgeIndex
A PiVector list with the local edge indices of this edge in the corresponding tetrahedrons.

m_tetraIndex

public PiVector m_tetraIndex
A PiVector list with the (global) tetrahedron indices.

m_vertexIndex

public int[] m_vertexIndex
An int array with the two vertex indices of the edges end points.
Constructor Detail

PgTetraEdge

public PgTetraEdge()
Method Detail

getTetraIndex

public int getTetraIndex(int index)
Returns an int with the global index of the tetrahedron at the specified list position.
Parameters:
index - an int with the position of the tetrahedron
Returns:
an int with the (global) index of the tetrahedron

getEdgeIndex

public int getEdgeIndex(int index)
Returns an int with the edge index of this edge inside the specified tetrahedron.
Parameters:
index - an int with the list position of the tetrahedron
Returns:
an int with the local index of the edge inside this tetrahedron

getSize

public int getSize()
Returns currently available number of adjacent elements.
Returns:
an int with the number of currently available adjacent elements

setSize

public void setSize(int size)
Sets number of adjacent tetrahedrons.
Parameters:
size - an int with the number of adjacent tetrahedrons

JavaView® v2.00.a4 Debug

The software JavaView® is copyright protected. All Rights Reserved.