Package gaiasky.scenegraph.particle
Interface IParticleRecord
- All Known Implementing Classes:
ParticleRecord
,PointParticleRecord
public interface IParticleRecord
-
Method Summary
Modifier and Type Method Description float
absmag()
void
addName(java.lang.String name)
void
addNames(java.lang.String... names)
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.ObjectDoubleMap.Keys<UCD>
extraKeys()
double
getExtra(UCD ucd)
double
getExtra(java.lang.String name)
boolean
hasCol()
boolean
hasExtra()
boolean
hasExtra(UCD ucd)
boolean
hasExtra(java.lang.String name)
boolean
hasName(java.lang.String candidate)
boolean
hasName(java.lang.String candidate, boolean matchCase)
int
hip()
long
id()
double
l()
Galactic longitude in degrees.double
lambda()
Ecliptic longitude in degrees.float
mualpha()
float
mudelta()
java.lang.String[]
names()
java.lang.String
namesConcat()
OctreeNode
octant()
double
parallax()
Parallax in mas.double
pmx()
double
pmy()
double
pmz()
Vector3d
pos(Vector3d aux)
double
ra()
Right ascension in degrees.double
radius()
float
radvel()
double[]
rawDoubleData()
float[]
rawFloatData()
double[]
rgb()
void
setCol(float col)
void
setHip(int hip)
void
setId(long id)
void
setMag(float appmag, float absmag)
void
setName(java.lang.String name)
void
setNames(java.lang.String... names)
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
java.lang.String[] names() -
namesConcat
java.lang.String namesConcat() -
hasName
boolean hasName(java.lang.String candidate) -
hasName
boolean hasName(java.lang.String candidate, boolean matchCase) -
setNames
void setNames(java.lang.String... names) -
setName
void setName(java.lang.String name) -
addName
void addName(java.lang.String name) -
addNames
void addNames(java.lang.String... names) -
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
boolean hasExtra(java.lang.String name) -
hasExtra
-
getExtra
double getExtra(java.lang.String name) -
getExtra
-
extraKeys
ObjectDoubleMap.Keys<UCD> extraKeys()
-