org.jcae.mesh.amibe.ds
Class MEdge1D

java.lang.Object
  extended by org.jcae.mesh.amibe.ds.MEdge1D

public class MEdge1D
extends java.lang.Object

1D edge.


Constructor Summary
MEdge1D(MNode1D begin, MNode1D end)
          Creates an edge bounded by two MNode1D instances.
 
Method Summary
 int getID()
          Returns the public identifer.
 MNode1D getNodes1()
          Returns the first MNode1D instance.
 MNode1D getNodes2()
          Returns the second MNode1D instance.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MEdge1D

public MEdge1D(MNode1D begin,
               MNode1D end)
Creates an edge bounded by two MNode1D instances.

Parameters:
begin - first end point,
end - second end point,
Method Detail

getID

public int getID()
Returns the public identifer.

Returns:
the public identifer.

getNodes1

public MNode1D getNodes1()
Returns the first MNode1D instance.

Returns:
the first MNode1D instance.

getNodes2

public MNode1D getNodes2()
Returns the second MNode1D instance.

Returns:
the second MNode1D instance.

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object