spis.Util.Monitor
Class Trajectory
java.lang.Object
spis.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 number | Author (name, e-mail) | Corrections/Modifications |
0.1 | JF Roussel, roussel@onecert.fr | Creation |
- 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...) |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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...)
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