Package skyview.geometry.projecter
Class Tan
- java.lang.Object
-
- skyview.geometry.Transformer
-
- skyview.geometry.Projecter
-
- skyview.geometry.projecter.Tan
-
- All Implemented Interfaces:
java.io.Serializable,Component
- Direct Known Subclasses:
Xtn
public class Tan extends Projecter
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classTan.TanDeproj
-
Constructor Summary
Constructors Constructor Description Tan()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanallValid()The entire projection plane is validjava.lang.StringgetDescription()Get a description of the componentjava.lang.StringgetName()Get the name of the compontentDeprojecterinverse()Get the inverse transformationbooleanisInverse(Transformer t)Is this an inverse of some other transformation?double[]tissot(double x, double y)Get the Tissot parameters.voidtransform(double[] sphere, double[] plane)Project a point from the sphere to the plane.-
Methods inherited from class skyview.geometry.Projecter
getInputDimension, getOutputDimension, getXTiling, getYTiling, shadowPoint, straddle, straddleable, straddleComponents, validPosition
-
Methods inherited from class skyview.geometry.Transformer
transform, transform
-
-
-
-
Method Detail
-
getName
public java.lang.String getName()
Get the name of the compontent
-
getDescription
public java.lang.String getDescription()
Get a description of the component
-
allValid
public boolean allValid()
The entire projection plane is valid
-
transform
public final void transform(double[] sphere, double[] plane)Project a point from the sphere to the plane.- Specified by:
transformin classTransformer- Parameters:
sphere- a double[3] unit vectorplane- a double[2] preallocated vector.
-
inverse
public Deprojecter inverse()
Get the inverse transformation
-
isInverse
public boolean isInverse(Transformer t)
Is this an inverse of some other transformation?- Specified by:
isInversein classTransformer
-
tissot
public double[] tissot(double x, double y)Get the Tissot parameters.- Overrides:
tissotin classProjecter- Parameters:
x- The X-value at which the Tissot indicatrix is to be calculated.y- The Y-value at which the Tissot indicatrix is to be calculated.- Returns:
- A three element double vector [Semimajor, semiminor, position angle] with the axes size and positional angle of the ellipse.
-
-