Package | Description |
---|---|
net.grelf |
This package contains general-purpose Java classes: non-astronomical and
not specific to GRIP.
|
net.grelf.astro |
This package contains Java classes for astronomical applications.
|
net.grelf.image |
This package contains Java classes defining and processing images.
|
Modifier and Type | Method and Description |
---|---|
static Angle |
Angle.acos(double cos)
Inverse cosine.
|
Angle |
Angle.add(Angle other)
Returns new Angle which is the sum of the present one and other.
|
Angle |
Complex.arg()
Returns polar angle.
|
static Angle |
Angle.asin(double sin)
Inverse sine.
|
static Angle |
Angle.atan(double tan)
Inverse tangent.
|
static Angle |
Angle.atan2(double y,
double x)
Inverse tangent.
|
Angle |
Angle.clone()
Returns a new Angle with the same fields.
|
Angle |
Angle.difference(Angle other)
Similar to subtract but the result is in the range -180..180 degrees.
|
Angle |
Angle.in360()
Returns a new Angle whose value lies in range 0..360 degrees (or 0..2pi radians).
|
Angle |
Angle.multiply(double factor)
Returns a new Angle that is the result of multiplying the current one by
a factor.
|
static Angle |
Angle.parseAngle(java.lang.String s)
Allow all possible formatting of the String.
|
Angle |
Angle.subtract(Angle other)
Returns a new Angle which is the result of subtracting other from this.
|
Modifier and Type | Method and Description |
---|---|
Angle |
Angle.add(Angle other)
Returns new Angle which is the sum of the present one and other.
|
static Maths.Statistics |
Angle.angleStatistics(Angle... angles)
Calculate the min, max, mean and stdDev (all in degrees) of an array of
angles, taking into account periodicity.
|
int |
Angle.compareTo(Angle other)
Implements java.lang.Comparable
|
Angle |
Angle.difference(Angle other)
Similar to subtract but the result is in the range -180..180 degrees.
|
boolean |
Triangle.equalAngles(Triangle other,
Angle tolerance)
True even if the vertices are cycled round in the other triangle,
in which case - NB! - other is cycled by this method so it matches,
but false if other is flipped over relative to this.
|
boolean |
Angle.equals(Angle other,
Angle tolerance) |
static Complex |
Complex.expi(Angle theta)
Get exp (i.theta) = cos (theta) + i.sin (theta).
|
Angle |
Angle.subtract(Angle other)
Returns a new Angle which is the result of subtracting other from this.
|
Modifier and Type | Method and Description |
---|---|
static Maths.Statistics |
Angle.angleStatistics(java.util.Collection<Angle> angles)
Calculate the min, max, mean and stdDev (all in degrees) of a set or
list of angles, taking into account periodicity.
|
Modifier and Type | Class and Description |
---|---|
class |
Dec
Representation of declination (celestial latitude).
|
class |
RA
Representation of Right Ascension (celestial longitude).
|
Modifier and Type | Method and Description |
---|---|
Angle |
Topocentre.getLatitude() |
Angle |
Topocentre.getLongitude() |
Angle |
SkyVector.getPa()
Get position angle (anticlockwise from north).
|
Angle |
SkyVector.getSeparation()
Get spherical separation.
|
Modifier and Type | Method and Description |
---|---|
double[] |
SkyPoint.calculateRiseTransitSet(JulianDate jd,
BodyKind kind,
Angle longitude,
Angle latitude)
Returns an array of 3 fractions of a day, representing respectively the
local times of rising, transit and setting for the given latitude and
refraction offset (h0 = -0.5667 for stars and planets, -0.8333 for the
Sun, +0.125 for the Moon).
|
Constructor and Description |
---|
Dec(Angle angle) |
RA(Angle angle) |
SkyVector(Angle separation,
Angle pa)
The order of the parameters is like polar coordinates (r, theta).
|
Modifier and Type | Method and Description |
---|---|
void |
Image.rotate(Angle angle)
Rotate the image anticlockwise by the given angle about its centre.
|
void |
Image32.rotate(Angle angle)
Rotate the image anticlockwise by the given angle about its centre.
|
void |
Image64.rotate(Angle angle)
Rotate the image anticlockwise by the given angle about its centre.
|
void |
Image8or16Base.rotate(Angle a)
Rotate the image anticlockwise by the given angle about its centre.
|
abstract void |
ImageBase.rotate(Angle angle)
Rotate the image anticlockwise by the given angle about its centre.
|