Package gaiasky.scenegraph
Class StarGroup.StarBean
- java.lang.Object
-
- gaiasky.scenegraph.ParticleGroup.ParticleBean
-
- gaiasky.scenegraph.StarGroup.StarBean
-
- All Implemented Interfaces:
java.io.Serializable
- Enclosing class:
- StarGroup
public static class StarGroup.StarBean extends ParticleGroup.ParticleBean
Contains info on one star- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static int
I_ABSMAG
static int
I_APPMAG
static int
I_COL
static int
I_HIP
static int
I_MUALPHA
static int
I_MUDELTA
static int
I_PMX
static int
I_PMY
static int
I_PMZ
static int
I_RADVEL
static int
I_SIZE
java.lang.Long
id
java.lang.String[]
names
static int
SIZE
-
Constructor Summary
Constructors Constructor Description StarBean(double[] data, java.lang.Long id, java.lang.String name)
StarBean(double[] data, java.lang.Long id, java.lang.String[] names)
StarBean(double[] data, java.lang.Long id, java.lang.String[] names, java.util.Map<UCD,java.lang.Double> extra)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
absmag()
void
addName(java.lang.String name)
double
appmag()
double
col()
boolean
hasName(java.lang.String candidate)
boolean
hasName(java.lang.String candidate, boolean matchCase)
int
hip()
double
mualpha()
double
mudelta()
java.lang.String
namesConcat()
double
pmx()
double
pmy()
double
pmz()
double
radius()
double
radvel()
void
setName(java.lang.String name)
void
setNames(java.lang.String... names)
double
size()
-
-
-
Field Detail
-
SIZE
public static final int SIZE
- See Also:
- Constant Field Values
-
I_PMX
public static final int I_PMX
- See Also:
- Constant Field Values
-
I_PMY
public static final int I_PMY
- See Also:
- Constant Field Values
-
I_PMZ
public static final int I_PMZ
- See Also:
- Constant Field Values
-
I_MUALPHA
public static final int I_MUALPHA
- See Also:
- Constant Field Values
-
I_MUDELTA
public static final int I_MUDELTA
- See Also:
- Constant Field Values
-
I_RADVEL
public static final int I_RADVEL
- See Also:
- Constant Field Values
-
I_APPMAG
public static final int I_APPMAG
- See Also:
- Constant Field Values
-
I_ABSMAG
public static final int I_ABSMAG
- See Also:
- Constant Field Values
-
I_COL
public static final int I_COL
- See Also:
- Constant Field Values
-
I_SIZE
public static final int I_SIZE
- See Also:
- Constant Field Values
-
I_HIP
public static final int I_HIP
- See Also:
- Constant Field Values
-
id
public java.lang.Long id
-
names
public java.lang.String[] names
-
-
Constructor Detail
-
StarBean
public StarBean(double[] data, java.lang.Long id, java.lang.String[] names, java.util.Map<UCD,java.lang.Double> extra)
-
StarBean
public StarBean(double[] data, java.lang.Long id, java.lang.String[] names)
-
StarBean
public StarBean(double[] data, java.lang.Long id, java.lang.String name)
-
-
Method Detail
-
pmx
public double pmx()
-
pmy
public double pmy()
-
pmz
public double pmz()
-
appmag
public double appmag()
-
absmag
public double absmag()
-
col
public double col()
-
size
public double size()
-
radius
public double radius()
-
hip
public int hip()
-
mualpha
public double mualpha()
-
mudelta
public double mudelta()
-
radvel
public double radvel()
-
namesConcat
public java.lang.String namesConcat()
-
hasName
public boolean hasName(java.lang.String candidate)
-
hasName
public boolean hasName(java.lang.String candidate, boolean matchCase)
-
setNames
public void setNames(java.lang.String... names)
-
setName
public void setName(java.lang.String name)
-
addName
public void addName(java.lang.String name)
-
-