Package gaiasky.scene.api
Interface IParticleRecord
- All Known Implementing Classes:
ParticleRecord
,PointParticleRecord
,VariableRecord
public interface IParticleRecord
-
Method Summary
Modifier and TypeMethodDescriptionfloat
absmag()
void
void
float
appmag()
double
b()
Galactic latitude in degrees.double
beta()
Ecliptic latitude in degrees.float
col()
double
dec()
Declination in degrees.double
distance()
Distance in internal units.double
double
boolean
hasCol()
boolean
hasExtra()
boolean
boolean
boolean
boolean
int
hip()
long
id()
double
l()
Galactic longitude in degrees.double
lambda()
Ecliptic longitude in degrees.float
mualpha()
float
mudelta()
String[]
names()
octant()
double
parallax()
Parallax in mas.double
pmx()
double
pmy()
double
pmz()
double
ra()
Right ascension in degrees.double
radius()
float
radvel()
double[]
float[]
double[]
rgb()
void
setCol
(float col) void
setHip
(int hip) void
setId
(long id) void
setMag
(float appmag, float absmag) void
void
void
setOctant
(OctreeNode octant) void
setPos
(double x, double y, double z) void
setProperMotion
(float mualpha, float mudelta, float radvel) void
setSize
(float size) void
setVelocityVector
(double vx, double vy, double vz) float
size()
double
x()
double
y()
double
z()
-
Method Details
-
rawDoubleData
double[] rawDoubleData() -
rawFloatData
float[] rawFloatData() -
x
double x() -
y
double y() -
z
double z() -
setPos
void setPos(double x, double y, double z) -
pos
-
pmx
double pmx() -
pmy
double pmy() -
pmz
double pmz() -
setVelocityVector
void setVelocityVector(double vx, double vy, double vz) -
names
String[] names() -
namesConcat
String namesConcat() -
hasName
-
hasName
-
setNames
-
setName
-
addName
-
addNames
-
appmag
float appmag() -
absmag
float absmag() -
setMag
void setMag(float appmag, float absmag) -
hasCol
boolean hasCol() -
col
float col() -
setCol
void setCol(float col) -
rgb
double[] rgb() -
size
float size() -
setSize
void setSize(float size) -
radius
double radius() -
setId
void setId(long id) -
id
long id() -
setHip
void setHip(int hip) -
hip
int hip() -
mualpha
float mualpha() -
mudelta
float mudelta() -
radvel
float radvel() -
setProperMotion
void setProperMotion(float mualpha, float mudelta, float radvel) -
octant
OctreeNode octant() -
setOctant
-
distance
double distance()Distance in internal units. Beware, does the computation on the fly.- Returns:
- The distance, in internal units
-
parallax
double parallax()Parallax in mas.- Returns:
- The parallax in mas.
-
ra
double ra()Right ascension in degrees. Beware, does the conversion on the fly.- Returns:
- The right ascension, in degrees
-
dec
double dec()Declination in degrees. Beware, does the conversion on the fly.- Returns:
- The declination, in degrees
-
lambda
double lambda()Ecliptic longitude in degrees.- Returns:
- The ecliptic longitude, in degrees
-
beta
double beta()Ecliptic latitude in degrees.- Returns:
- The ecliptic latitude, in degrees
-
l
double l()Galactic longitude in degrees.- Returns:
- The galactic longitude, in degrees
-
b
double b()Galactic latitude in degrees.- Returns:
- The galactic latitude, in degrees
-
hasExtra
boolean hasExtra() -
hasExtra
-
hasExtra
-
getExtra
-
getExtra
-
extraKeys
ObjectDoubleMap.Keys<UCD> extraKeys()
-