stsci.sky
Class Mag

java.lang.Object
  |
  +--stsci.sky.Mag

class Mag
extends java.lang.Object

A magnitude with a method for working out its pixel diameter.


Field Summary
protected static double c
           
protected static int factor
           
protected  double mag
           
protected  int pixelDiameter
           
 
Constructor Summary
Mag(double mag)
           
 
Method Summary
protected  void calculatePixelDiameter()
           
static double getConstant()
           
static int getFactor()
           
 double getMag()
           
 int getPixelDiameter()
           
static boolean setConstant(double c)
           
static boolean setFactor(int f)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

mag

protected double mag

c

protected static double c

factor

protected static int factor

pixelDiameter

protected int pixelDiameter
Constructor Detail

Mag

public Mag(double mag)
Method Detail

calculatePixelDiameter

protected void calculatePixelDiameter()

getMag

public double getMag()

getPixelDiameter

public int getPixelDiameter()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

setFactor

public static boolean setFactor(int f)

getFactor

public static int getFactor()

setConstant

public static boolean setConstant(double c)

getConstant

public static double getConstant()