spis.Util.Monitor
Class Trajectory

java.lang.Object
  extended byspis.Util.Monitor.Trajectory
All Implemented Interfaces:
java.io.Serializable

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

Class Name : Trajectory
Project ref : SPIS project
File name : Trajectory.java
File type : class
Copyright : ONERA, 2 Av. E. Belin, 31055 Toulouse cedex, France http://www.onecert.fr
Status : under development
Creation : Mar 2, 2004
Modification :

Description :

Versions and anomalies correction :

Version numberAuthor (name, e-mail) Corrections/Modifications
0.1 JF Roussel, roussel@onecert.frCreation


Version:
0.1
Author:
JF Roussel
See Also:
Serialized Form

Constructor Summary
Trajectory(VolMesh volMesh, java.lang.String name_, int index_)
          Default constructor with trajectory name (or description) and index (can be the order index, but can also be used to store particle type, start surface...)
 
Method Summary
 void addPoint(float[] position, float time)
           
 int getIndex()
           
 java.lang.String getName()
           
 int getPointNb()
           
 float[][] getPosArray()
           
 SpaceVectTable getPosTable()
           
 float[] getTimeArray()
           
 FloatScalTable getTimeTable()
           
 void setIndex(int i)
           
 void setName(java.lang.String string)
           
 void setPointNb(int i)
           
 void setPosTable(SpaceVectTable table)
           
 void setTimeTable(FloatScalTable table)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Trajectory

public Trajectory(VolMesh volMesh,
                  java.lang.String name_,
                  int index_)
Default constructor with trajectory name (or description) and index (can be the order index, but can also be used to store particle type, start surface...)

Method Detail

addPoint

public void addPoint(float[] position,
                     float time)

getIndex

public int getIndex()
Returns:
trajectory index

getName

public java.lang.String getName()
Returns:
trajectory name

getPointNb

public int getPointNb()
Returns:
trajectory point number

getPosTable

public SpaceVectTable getPosTable()
Returns:
trajectory successive point table

getTimeTable

public FloatScalTable getTimeTable()
Returns:
time of successive points

getPosArray

public float[][] getPosArray()
Returns:
trajectory successive point table

getTimeArray

public float[] getTimeArray()
Returns:
time of successive points

setIndex

public void setIndex(int i)
Parameters:
i - trajectory indes

setName

public void setName(java.lang.String string)
Parameters:
string - trajectory name

setPointNb

public void setPointNb(int i)
Parameters:
i - trajectory point number

setPosTable

public void setPosTable(SpaceVectTable table)
Parameters:
table - trajectory points table

setTimeTable

public void setTimeTable(FloatScalTable table)
Parameters:
table - times of successive points