Package gaiasky.scenegraph
Interface IStarFocus
-
- All Superinterfaces:
IFocus,IProperMotion
public interface IStarFocus extends IFocus, IProperMotion
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetCatalogSource()Gets the catalog source of this star.Vector3dgetClosestAbsolutePos(Vector3d out)Returns the position of the closest star in world coordinatesfloat[]getClosestCol()Returns the color of the closest stardoublegetClosestDistToCamera()Returns the closest star distance to the camerajava.lang.StringgetClosestName()Name of closest star to cameraVector3dgetClosestPos(Vector3d out)Returns the position of the closest star in camera coordinatesdoublegetClosestSize()Returns the size of the closest starintgetHip()Returns the HIP number of this star, or negative if it has no HIP numberlonggetId()Returns the identifier-
Methods inherited from interface gaiasky.scenegraph.IFocus
addHit, addHit, getAbsmag, getAbsolutePosition, getAbsolutePosition, getAlpha, getAppmag, getCandidateId, getCandidateName, getCandidateViewAngleApparent, 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, withinMagLimit
-
Methods inherited from interface gaiasky.scenegraph.IProperMotion
getMuAlpha, getMuDelta, getRadialVelocity
-
-
-
-
Method Detail
-
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:
getClosestDistToCamerain 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
java.lang.String getClosestName()
Name of closest star to camera- Specified by:
getClosestNamein interfaceIFocus- Returns:
- The name of the closest star to the camera
-
getClosestPos
Vector3d getClosestPos(Vector3d out)
Returns the position of the closest star in camera coordinates- Parameters:
out- The out vector- Returns:
- The out vector with the position
-
getClosestAbsolutePos
Vector3d getClosestAbsolutePos(Vector3d out)
Returns the position of the closest star in world coordinates- Specified by:
getClosestAbsolutePosin 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
-
-