Interface IParticleRecord
- All Known Implementing Classes:
Particle, ParticleExt, ParticleKepler, ParticleStar, ParticleVariable, ParticleVector
public interface IParticleRecord
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionfloatabsMag()floatappMag()default doubledefault doubledefault doubleb()default doublebeta()floatcolor()default doubledec()default doubledistance()default doubledefault doubleepoch()com.badlogic.gdx.utils.ObjectMap.Keys<UCD> getExtra()Gets the extra attributes map.Gets the extra data filed with the given UCD.Gets the extra data filed with the given name.static ObjectgetExtraAttribute(String name, com.badlogic.gdx.utils.ObjectMap<UCD, Object> extra) Gets the attribute with the given name from the given extra map.doublegetExtraNumber(UCD ucd) Gets the extra data filed with the given UCD, as a double number.doublegetExtraNumber(String name) Gets the extra data filed with the given name, as a double number.getType()Returns the particle record type.booleanhasColor()booleanhasExtra()booleanbooleanbooleanbooleanbooleanbooleanhasSize()default inthip()longid()default doubledefault booleanReturns whether this particle record has aVariableattached, making it a variable star.default doublel()default doublelambda()default doubledefault floatmuAlpha()default floatmuDelta()String[]names()default intnVari()default doubleparallax()default doubleperiod()default Vector3Ddefault doublera()doubleradius()default floatradVel()double[]rgb()default doublevoidsetExtraAttributes(com.badlogic.gdx.utils.ObjectMap<UCD, Object> extra) floatsize()default floattEff()default float[]variMags()default double[]floatvx()floatvy()floatvz()doublex()doubley()doublez()
-
Field Details
-
aux3d1
-
aux3d2
-
-
Method Details
-
x
double x() -
y
double y() -
z
double z() -
pos
-
hasProperMotion
boolean hasProperMotion() -
vx
float vx() -
vy
float vy() -
vz
float vz() -
names
String[] names() -
namesConcat
String namesConcat() -
hasName
-
hasName
-
appMag
float appMag() -
absMag
float absMag() -
hasColor
boolean hasColor() -
color
float color() -
rgb
double[] rgb() -
hasSize
boolean hasSize() -
size
float size() -
radius
double radius() -
id
long id() -
hip
default int hip() -
muAlpha
default float muAlpha() -
muDelta
default float muDelta() -
radVel
default float radVel() -
distance
default double distance()- Returns:
- The distance, in internal units.
-
parallax
default double parallax()- Returns:
- The parallax in mas.
-
ra
default double ra()- Returns:
- The right ascension, in degrees.
-
dec
default double dec()- Returns:
- The declination, in degrees.
-
lambda
default double lambda()- Returns:
- The ecliptic longitude, in degrees
-
beta
default double beta()- Returns:
- The ecliptic latitude, in degrees
-
l
default double l()- Returns:
- The galactic longitude, in degrees
-
b
default double b()- Returns:
- The galactic latitude, in degrees
-
tEff
default float tEff()- Returns:
- The effective temperature in K.
-
epoch
default double epoch() -
semiMajorAxis
default double semiMajorAxis() -
argOfPericenter
default double argOfPericenter() -
meanAnomaly
default double meanAnomaly() -
eccentricity
default double eccentricity() -
inclination
default double inclination() -
ascendingNode
default double ascendingNode() -
setExtraAttributes
-
hasExtra
boolean hasExtra() -
hasExtra
-
hasExtra
-
getExtra
-
getExtra
-
getExtra
-
getExtraNumber
Gets the extra data filed with the given name, as a double number.- Parameters:
name- The name of the data filed to get.- Returns:
- The data field as a double, or NaN if it does not exist or is not a number.
-
getExtraNumber
Gets the extra data filed with the given UCD, as a double number.- Parameters:
ucd- The UCD of the data filed to get.- Returns:
- The data field as a double, or NaN if it does not exist or is not a number.
-
extraKeys
com.badlogic.gdx.utils.ObjectMap.Keys<UCD> extraKeys() -
getType
-
isVariable
default boolean isVariable()Returns whether this particle record has aVariableattached, making it a variable star.- Returns:
- True if this record is a variable star.
-
nVari
default int nVari()- Returns:
- The number of variable star samples
-
period
default double period()- Returns:
- The variability period, or the Keplerian period, in days.
-
variMags
default float[] variMags()- Returns:
- The vector with the variable star magnitudes.
-
variTimes
default double[] variTimes()- Returns:
- The vector with the variable star times corresponding to the magnitudes.
-
getExtraAttribute
-