Package gaiasky.scenegraph
Interface IStarFocus
- All Superinterfaces:
IFocus
,IProperMotion
-
Method Summary
Modifier and TypeMethodDescriptionint
Gets the catalog source of this star.Returns the position of the closest star in world coordinatesfloat[]
Returns the color of the closest stardouble
Returns the closest star distance to the cameraName of closest star to cameragetClosestPos(Vector3d out)
Returns the position of the closest star in camera coordinatesdouble
Returns the size of the closest starint
getHip()
Returns the HIP number of this star, or negative if it has no HIP numberlong
getId()
Returns the identifierMethods inherited from interface gaiasky.scenegraph.IFocus
addHit, addHit, getAbsmag, getAbsolutePosition, getAbsolutePosition, getAlpha, getAppmag, getCandidateId, getCandidateName, getCandidateViewAngleApparent, getColor, getCt, getDelta, getDistToCamera, getFirstStarAncestor, getFocus, getHeight, getHeight, getHeight, getHeightScale, getName, getNames, getNext, getOctant, getOrientation, getOrientationQuaternion, getPos, getPosSph, getPredictedPosition, getRadius, getRotationComponent, getSceneGraphDepth, getSize, getViewAngle, getViewAngleApparent, hasName, hasName, isActive, isCoordinatesTimeOverflow, isCopy, makeFocus
Methods inherited from interface gaiasky.scenegraph.IProperMotion
getMuAlpha, getMuDelta, getRadialVelocity
-
Method Details
-
getCatalogSource
int getCatalogSource()Gets the catalog source of this star. Possible values are:- -1: Unknown
- 1: Gaia
- 2: Hipparcos (HYG)
- 3: Tycho
- 4: Other
- Returns:
- The catalog source number
-
getId
long getId()Returns the identifier -
getHip
int getHip()Returns the HIP number of this star, or negative if it has no HIP number- Returns:
- The HIP number
-
getClosestDistToCamera
double getClosestDistToCamera()Returns the closest star distance to the camera- Specified by:
getClosestDistToCamera
in interfaceIFocus
- Returns:
- Distance of closest star to camera
-
getClosestSize
double getClosestSize()Returns the size of the closest star- Returns:
- The size of the closest star
-
getClosestName
String getClosestName()Name of closest star to camera- Specified by:
getClosestName
in interfaceIFocus
- Returns:
- The name of the closest star to the camera
-
getClosestPos
Returns the position of the closest star in camera coordinates- Parameters:
out
- The out vector- Returns:
- The out vector with the position
-
getClosestAbsolutePos
Returns the position of the closest star in world coordinates- Specified by:
getClosestAbsolutePos
in interfaceIFocus
- Parameters:
out
- The out vector- Returns:
- The out vector with the position
-
getClosestCol
float[] getClosestCol()Returns the color of the closest star- Returns:
- The color in rgb
-