|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectspis.Vol.Geom.ThreeDCartesianGeom
Class Name : ThreeDCartesianGeom
Project ref : SPIS project
File name : ThreeDCartesianGeom.java
File type : interface
Copyright : ONERA, 2 Av. E. Belin, 31055 Toulouse cedex, France
http://www.onecert.fr
Status : under development
Creation : 25/08/2003
Modification :
Description : Simple 3D cartesian geometry (3+3D phase space)
Versions and anomalies correction :
Version number | Author (name, e-mail) | Corrections/Modifications |
0.1 | JF Roussel, roussel@onecert.fr | Creation |
Constructor Summary | |
ThreeDCartesianGeom()
|
Method Summary | |
void |
computeAngleCos(SpaceVectTable normal,
VeloVectTable v,
FloatScalTable angleCos)
Computes the cosine of the angle between 2 vector tables of two different sub-types |
void |
computeSpaceIncrement(SpaceVectTable dx,
VeloVectTable v,
float dt)
Computes the space increment dx resulting from the movement at velovity v during the time dt (formally dx = v dt) |
void |
computeVeloIncrement(VeloVectTable dv,
VeloVectTable a,
float dt,
VeloVectTable v,
SpaceVectTable x)
Computes the velocity increment dv resulting from the acceleratin a during the time dt (formally dv = a dt) |
void |
computeVeloSquared(VeloVectTable v,
FloatScalTable v2)
Computes the sqaure of the velovity |
int |
getSdim()
Provides the dimension of (real) space |
int |
getVdim()
Provides the dimension of velocity space |
float[] |
spaceToVelo(float[] v)
transforms a space vector into a velocity vector (may be a kind of projection) |
float[] |
veloToSpace(float[] v)
transforms a velocity vector into a space vector (may be a kind of projection) |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ThreeDCartesianGeom()
Method Detail |
public int getSdim()
getSdim
in interface Geom
public int getVdim()
getVdim
in interface Geom
public void computeSpaceIncrement(SpaceVectTable dx, VeloVectTable v, float dt)
computeSpaceIncrement
in interface Geom
public void computeVeloIncrement(VeloVectTable dv, VeloVectTable a, float dt, VeloVectTable v, SpaceVectTable x)
computeVeloIncrement
in interface Geom
public void computeVeloSquared(VeloVectTable v, FloatScalTable v2)
Geom
computeVeloSquared
in interface Geom
v
- velocity vector (input)v2
- veleocity norm square (output)Geom.computeVeloSquared(VeloVectTable, FloatScalTable)
public void computeAngleCos(SpaceVectTable normal, VeloVectTable v, FloatScalTable angleCos)
Geom
computeAngleCos
in interface Geom
normal
- vertor of space syb-type (typically a normal to a surface)v
- vector of velocity type (typically a velocity)angleCos
- the cosine of their angle (the result)Geom.computeAngleCos(SpaceVectTable, VeloVectTable, FloatScalTable)
public float[] spaceToVelo(float[] v)
spaceToVelo
in interface Geom
v
- input space vector
public float[] veloToSpace(float[] v)
veloToSpace
in interface Geom
v
- input velocity vector
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |