|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectspis.Util.Monitor.Trajectory
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 |
Field Summary | |
private int |
index
trajectory index (can be the order index but can also be used to store particle type, start surface...) |
private java.lang.String |
name
Trajectory name or description |
private int |
pointNb
point number on the trajevtory |
private SpaceVectTable |
posT
trajectory positions |
private FloatScalTable |
timeT
time table (time of each position |
private VolMesh |
vm
volume mesh this trajectoris lives in |
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 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private VolMesh vm
private SpaceVectTable posT
private FloatScalTable timeT
private int pointNb
private int index
private java.lang.String name
Constructor Detail |
public Trajectory(VolMesh volMesh, java.lang.String name_, int index_)
Method Detail |
public void addPoint(float[] position, float time)
public int getIndex()
public java.lang.String getName()
public int getPointNb()
public SpaceVectTable getPosTable()
public FloatScalTable getTimeTable()
public float[][] getPosArray()
public float[] getTimeArray()
public void setIndex(int i)
i
- trajectory indespublic void setName(java.lang.String string)
string
- trajectory namepublic void setPointNb(int i)
i
- trajectory point numberpublic void setPosTable(SpaceVectTable table)
table
- trajectory points tablepublic void setTimeTable(FloatScalTable table)
table
- times of successive points
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |