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
- See Also:
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanallValid()The entire projection plane is validGet a description of the componentgetName()Get the name of the compontentinverse()Get the inverse transformationbooleanIs this an inverse of some other transformation?double[]tissot(double x, double y) Get the Tissot parameters.final 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, validPositionMethods inherited from class skyview.geometry.Transformer
transform, transform
-
Constructor Details
-
Tan
public Tan()
-
-
Method Details
-
getName
Get the name of the compontent -
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
Get the inverse transformation -
isInverse
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.
-