net.cercis.jstruct.input
Class NodeCalc

java.lang.Object
  extended bynet.cercis.jstruct.input.NodeCalc

public class NodeCalc
extends java.lang.Object

NodeCalc Object. This object stores the information of the nodes of the model that is going to be calculated


Constructor Summary
NodeCalc(int id, int idc, float x, float y)
          Class Constructor where the final values are stored
 
Method Summary
 int id()
          Returns the value of the identifier
 int idc()
          Returns the value of the calculation identifier
 float x()
          Returns the value of the x value of the coordinate
 float y()
          Returns the value of the y value of the coordinate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NodeCalc

public NodeCalc(int id,
                int idc,
                float x,
                float y)
Class Constructor where the final values are stored

Parameters:
id - Integer number identifier of the node
idc - Integer number calculation identifier. This number is given so that all nodes have a consecutive number which is later renumbered in the solution process. This number is assigned when the ModelCalc is defined
x - Float number storing the x coordinate
y - Float number storing the y coordinate
Method Detail

id

public int id()
Returns the value of the identifier

Returns:
Integer number with the value of the identifier

idc

public int idc()
Returns the value of the calculation identifier

Returns:
Integer number with the value of the calculation identifier

x

public float x()
Returns the value of the x value of the coordinate

Returns:
Integer number with the value of the x coordinate

y

public float y()
Returns the value of the y value of the coordinate

Returns:
Integer number with the value of the y coordinate