Package skyview.geometry.projecter
Class Toa.ToaDeproj
- java.lang.Object
-
- skyview.geometry.Transformer
-
- skyview.geometry.Deprojecter
-
- skyview.geometry.projecter.Toa.ToaDeproj
-
- All Implemented Interfaces:
Serializable
,Component
- Enclosing class:
- Toa
public class Toa.ToaDeproj extends Deprojecter
Deproject from the ToastPlane back to the unit sphere- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ToaDeproj()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double[]
deproject(double x, double y)
Deproject from the plane to the sky.String
getDescription()
Get the description of this component.String
getName()
Get the name of this component.Transformer
inverse()
Get the inverse of the transformation.boolean
isInverse(Transformer obj)
Are these two transformations, inverses of each other? This method is used to optimize a series of transformations where transformations.void
transform(double[] plane, double[] sphere)
Convert a single point where the output vector is supplied.-
Methods inherited from class skyview.geometry.Deprojecter
getInputDimension, getOutputDimension
-
Methods inherited from class skyview.geometry.Transformer
transform, transform
-
-
-
-
Method Detail
-
getName
public String getName()
Description copied from interface:Component
Get the name of this component.
-
getDescription
public String getDescription()
Description copied from interface:Component
Get the description of this component.
-
isInverse
public boolean isInverse(Transformer obj)
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
public Transformer inverse()
Description copied from class:Transformer
Get the inverse of the transformation. If the order matters, then the inverse is to be applied after the original transformation. This is primarily an issue with Converters.- Specified by:
inverse
in classTransformer
-
transform
public void transform(double[] plane, double[] sphere)
Description copied from class:Transformer
Convert a single point where the output vector is supplied.- Specified by:
transform
in classTransformer
- Parameters:
plane
- The input vector.sphere
- 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.
-
deproject
public double[] deproject(double x, double y)
Deproject from the plane to the sky. Note that deproject uses the [-1,1] range of plane coordinates while transform uses [-pi/2,pi/2].
-
-