Package skyview.geometry.projecter
Class Tot
java.lang.Object
skyview.geometry.Transformer
skyview.geometry.Projecter
skyview.geometry.projecter.Tot
- All Implemented Interfaces:
Serializable
,Component
This class provides for the
translation between coordinates and the Tiled Octahedral Tangent projection.
The projection is centered at the north pole. The south pole is projected to the four corners at (+/-1, +/-1). The equator projects to the diagonals running between the points (-1,0)->(0,1), (0,1)->(1,0), (1,0)->(0,-1), (-1,0)->(0,-1). These diagonals divide the four unit squares at the center of the coordinate grid into 8 right isoceles triangles.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclass
Deproject from the plane back to the unit sphere -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the description of this component.getName()
Get the name of this component.inverse()
Get the inverseboolean
isInverse
(Transformer obj) Are these two transformations, inverses of each other? This method is used to optimize a series of transformations where transformations.static void
void
transform
(double[] unit, double[] plane) Convert a single point where the output vector is supplied.Methods inherited from class skyview.geometry.Projecter
allValid, getInputDimension, getOutputDimension, getXTiling, getYTiling, shadowPoint, straddle, straddleable, straddleComponents, tissot, validPosition
Methods inherited from class skyview.geometry.Transformer
transform, transform
-
Constructor Details
-
Tot
public Tot()
-
-
Method Details
-
getName
Description copied from interface:Component
Get the name of this component. -
getDescription
Description copied from interface:Component
Get the description of this component. -
isInverse
Description copied from class:Transformer
Are these two transformations, inverses of each other? This method is used to optimize a series of transformations where transformations.- Specified by:
isInverse
in classTransformer
-
inverse
Description copied from class:Projecter
Get the inverse -
transform
public void transform(double[] unit, double[] plane) Description copied from class:Transformer
Convert a single point where the output vector is supplied.- Specified by:
transform
in classTransformer
- Parameters:
unit
- The input vector.plane
- The output vector, it may be the same as the input vector if the dimensionalities are the same. All transformers are expected to work with aliased inputs and output.
-
main
- Throws:
Exception
-