Class GalacticCoordinate
java.lang.Object
org.episteme.natural.physics.astronomy.coordinates.GalacticCoordinate
Galactic coordinate system.
l: Galactic longitude (0° toward Galactic center, increases counterclockwise)
b: Galactic latitude (0° = Galactic plane, +90° = North Galactic Pole)
- Since:
- 1.0
- Author:
- Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final GalacticCoordinateGalactic anticenterstatic final GalacticCoordinateGalactic center (Sgr A*)static final GalacticCoordinateNorth Galactic Pole -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic GalacticCoordinateConverts equatorial coordinates to galactic.doublegetB()doublegetL()booleanChecks if coordinate is in the Galactic plane (|b| invalid input: '<' 10°).booleanChecks if coordinate is toward the Galactic center (|l| invalid input: '<' 30°).Converts galactic coordinates to equatorial.toString()
-
Field Details
-
GALACTIC_CENTER
Galactic center (Sgr A*) -
GALACTIC_ANTICENTER
Galactic anticenter -
NORTH_GALACTIC_POLE
North Galactic Pole
-
-
Constructor Details
-
GalacticCoordinate
public GalacticCoordinate(double l, double b)
-
-
Method Details
-
fromEquatorial
Converts equatorial coordinates to galactic. -
toEquatorial
Converts galactic coordinates to equatorial. -
getL
public double getL() -
getB
public double getB() -
isInGalacticPlane
public boolean isInGalacticPlane()Checks if coordinate is in the Galactic plane (|b| invalid input: '<' 10°). -
isTowardCenter
public boolean isTowardCenter()Checks if coordinate is toward the Galactic center (|l| invalid input: '<' 30°). -
toString
-