Package org.aavso.tools.vstar.util.coords

Examples of org.aavso.tools.vstar.util.coords.RAInfo


  public void convertObsToHJD(StarInfo newStarInfo) {
    // Try to get RA and Dec information from any of our loaded datasets.
    // We are making the simplifying assumption that all datasets correspond
    // to the same object!

    RAInfo ra = null;
    DecInfo dec = null;

    for (NewStarMessage msg : newStarMessageList) {
      ra = msg.getStarInfo().getRA();
      dec = msg.getStarInfo().getDec();
View Full Code Here


    IntegerField raMinutes = new IntegerField("Minutes", 0, 60, null);
    DoubleField raSeconds = new DoubleField("Seconds", 0.0, 60.0, null);
    MultiEntryComponentDialog dialog = new MultiEntryComponentDialog(
        "RA (B1950.0)", raHours, raMinutes, raSeconds);

    RAInfo raInfo = null;
    if (!dialog.isCancelled()) {
      raInfo = new RAInfo(1950, raHours.getValue(), raMinutes.getValue(),
          raSeconds.getValue());
    }

    return raInfo;
  }
View Full Code Here

TOP

Related Classes of org.aavso.tools.vstar.util.coords.RAInfo

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.