swisseph
Class TransitCalculator
java.lang.Object
swisseph.TransitCalculator
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- TCPlanet, TCPlanetPlanet
public abstract class TransitCalculator
- extends java.lang.Object
- implements java.io.Serializable
- See Also:
- Serialized Form
|
Method Summary |
protected abstract double |
calc(double jdET)
|
protected abstract double |
getDegreePrecision(double jdET)
|
protected abstract double |
getMaxSpeed()
|
protected abstract double |
getMinSpeed()
|
java.lang.Object[] |
getObjectIdentifiers()
This returns all the "object identifiers s" used in this
TransitCalculator. |
abstract double |
getOffset()
This returns the degree or other value of the position or speed of
the planet to transit. |
abstract boolean |
getRollover()
|
protected abstract double |
getTimePrecision(double degPrec)
|
abstract void |
setOffset(double value)
This sets the degree or other value for the position or speed of
the planet to transit. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
rollover
protected boolean rollover
rolloverVal
protected double rolloverVal
TransitCalculator
public TransitCalculator()
getRollover
public abstract boolean getRollover()
- Returns:
- Returns true, if one position value is identical to another
position value. E.g., 360 degree is identical to 0 degree in
circular angles.
- See Also:
rolloverVal
setOffset
public abstract void setOffset(double value)
- This sets the degree or other value for the position or speed of
the planet to transit. It will be used on the next call to getTransit().
- Parameters:
value - The desired offset value.- See Also:
getOffset()
getOffset
public abstract double getOffset()
- This returns the degree or other value of the position or speed of
the planet to transit.
- Returns:
- The currently set offset value.
- See Also:
setOffset(double)
getObjectIdentifiers
public java.lang.Object[] getObjectIdentifiers()
- This returns all the "object identifiers s" used in this
TransitCalculator. It may be the planet number or planet numbers,
when calculating planets.
- Returns:
- An array of identifiers identifying the calculated objects.
getMaxSpeed
protected abstract double getMaxSpeed()
getMinSpeed
protected abstract double getMinSpeed()
getDegreePrecision
protected abstract double getDegreePrecision(double jdET)
getTimePrecision
protected abstract double getTimePrecision(double degPrec)
calc
protected abstract double calc(double jdET)