Package skyview.geometry.projecter
Class Tan
- java.lang.Object
-
- skyview.geometry.Transformer
-
- skyview.geometry.Projecter
-
- skyview.geometry.projecter.Tan
-
- All Implemented Interfaces:
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 class
Tan.TanDeproj
-
Constructor Summary
Constructors Constructor Description Tan()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
allValid()
The entire projection plane is validString
getDescription()
Get a description of the componentString
getName()
Get the name of the compontentDeprojecter
inverse()
Get the inverse transformationboolean
isInverse(Transformer t)
Is this an inverse of some other transformation?double[]
tissot(double x, double y)
Get the Tissot parameters.void
transform(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 String getName()
Get the name of the compontent
-
getDescription
public 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:
transform
in 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:
isInverse
in classTransformer
-
tissot
public double[] tissot(double x, double y)
Get the Tissot parameters.- Overrides:
tissot
in 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.
-
-