|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.hedgehog.HObject
com.hedgehog.geo.GeometricObject
com.hedgehog.geo.threed.GeometricObject3D
com.hedgehog.geo.threed.shapes.Shape3D
com.hedgehog.geo.threed.shapes.Sphere3D
com.hedgehog.planets.AbstractPlanet
com.hedgehog.planets.Mars
public class Mars
Title: Mars - models planet Mars.
Description: Models planet Mars.
Copyright: Copyright (c) Hedgehog Software 2007-2009.
Company: Hedgehog Software
| Field Summary | |
|---|---|
static double |
radiusVolumetriclNASA
The mean volumetric radius (a); ie 3,389.5e03m. |
| Fields inherited from class com.hedgehog.geo.threed.shapes.Sphere3D |
|---|
mCentre, mRadius |
| Fields inherited from class com.hedgehog.HObject |
|---|
mID, mName |
| Constructor Summary | |
|---|---|
Mars()
Default constructor. |
|
Mars(Mars object)
COpy constructor. |
|
Mars(Point3D centre,
double radius)
Constructor. |
|
| Method Summary | |
|---|---|
double |
apparentEquatorialDiameter(double radialDistanceAU)
Returns the apparent diameter for the specified radial distance in AUs. |
double |
eccentricity(int dayNumber)
Returns the eccentricity; ie 0.093405 + 2.516e-09*dayNumber. |
double |
inclination(int dayNumber)
Returns the inclination (ie tilt) of the orbit relative to the ecliptic plane in degrees; ie 1.8497 + 1.78e-08*dayNumber. |
boolean |
isEarth()
Tests whether or not this planet is Earth; ie false. |
boolean |
isJupiter()
Tests whether or not this planet is Jupiter; ie false. |
boolean |
isMars()
Tests whether or not this planet is Mars; ie true. |
boolean |
isMercury()
Tests whether or not this planet is Mercury; ie false. |
boolean |
isNeptune()
Tests whether or not this planet is Neptune; ie false. |
boolean |
isSaturn()
Tests whether or not this planet is Saturn; ie false. |
boolean |
isUranus()
Tests whether or not this planet is Uranus; ie false. |
boolean |
isVenus()
Tests whether or not this planet is Venus; ie false. |
double |
longitudeOfAscendingNode(int dayNumber)
Returns the longitude of ascending node for the specified day number in degrees; ie 49.5574 + 2.11081e-05*dayNumber. |
double |
longitudeOfPerihelion(int dayNumber)
Returns the longitude of perihelion in degrees; ie 286.5016 + 2.92961e-05*dayNumber. |
double |
meanAnomaly(int dayNumber)
Returns the mean anomaly in degrees; ie 18.6021 + 0.5240207766*dayNumber. |
double |
meanDistanceToEarth(int dayNumber,
boolean au)
Returns the mean distance/semi-major-axis to Earth in aus (1.523688) or actual distance in metres. |
| Methods inherited from class com.hedgehog.geo.threed.shapes.Shape3D |
|---|
is2D, is3D, isCurve, isGrid, isMesh, isPoint, isPointSet, isShape, isSurface |
| Methods inherited from class com.hedgehog.geo.GeometricObject |
|---|
objectDimension |
| Methods inherited from class com.hedgehog.HObject |
|---|
clone, compare, compareTo, copy, equals, getID, getName, hashCode, hasID, hasName, setID, setName |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final double radiusVolumetriclNASA
| Constructor Detail |
|---|
public Mars()
public Mars(Point3D centre,
double radius)
centre - Planat centre.radius - Planaet radius.public Mars(Mars object)
object - Object to copy.| Method Detail |
|---|
public double eccentricity(int dayNumber)
eccentricity in class AbstractPlanetdayNumber - The day number.
public double inclination(int dayNumber)
inclination in class AbstractPlanetdayNumber - The day number.
public double longitudeOfAscendingNode(int dayNumber)
longitudeOfAscendingNode in class AbstractPlanetdayNumber - The day number.
public double longitudeOfPerihelion(int dayNumber)
longitudeOfPerihelion in class AbstractPlanetdayNumber - The day number.
public double meanAnomaly(int dayNumber)
meanAnomaly in class AbstractPlanetdayNumber - The day number.
public double meanDistanceToEarth(int dayNumber,
boolean au)
meanDistanceToEarth in class AbstractPlanetdayNumber - The day number.au - Specifies whether the returned distance is in AUs or actual distance in metres.
public double apparentEquatorialDiameter(double radialDistanceAU)
throws java.lang.IllegalArgumentException
apparentEquatorialDiameter in class AbstractPlanetradialDistanceAU - Radial distance in AUs.
java.lang.IllegalArgumentException - Thrown if radialDistanceAU<=0.public boolean isMercury()
isMercury in class AbstractPlanetpublic boolean isVenus()
isVenus in class AbstractPlanetpublic boolean isEarth()
isEarth in class AbstractPlanetpublic boolean isMars()
isMars in class AbstractPlanetpublic boolean isJupiter()
isJupiter in class AbstractPlanetpublic boolean isSaturn()
isSaturn in class AbstractPlanetpublic boolean isUranus()
isUranus in class AbstractPlanetpublic boolean isNeptune()
isNeptune in class AbstractPlanet
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||