Unverified Commit 36d08f2b authored by Jacob Kaufman's avatar Jacob Kaufman Committed by GitHub
Browse files

Merge pull request #42 from jkaufy/master

Get functions for Radius
parents df46d17c 38fce2cb
Loading
Loading
Loading
Loading

.DS_Store

deleted100644 → 0
−6 KiB

File deleted.

+1 −1
Original line number Diff line number Diff line
.cache/
coverage/
dist/*
./app/node_modules/
/node_modules
*.log
./app/package-lock.json
.dist/
+19 −0
Original line number Diff line number Diff line
@@ -39,6 +39,25 @@ export default class AstroMath {
      } 
    }

  /**
   * Returns the Major radius for the specific target.
   * @return {double} The Major radius value.
   */
  getMajorRadius()
  {
    return this.dMajorRadius
  }

  /**
   * Returns the Minor radius for the specific target.
   * @return {double} The Minor radius value.
   */
  getMinorRadius()
  {
    return this.dMinorRadius
  }
  
  
  /**
   * Converts degrees to radians.
   * @param  {double} degrees - The degree value that is going to be converted.
+5722 −0

File added.

Preview size limit exceeded, changes collapsed.