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
Deproject from the ToastPlane back to the unit sphere
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondouble[]deproject(double x, double y) Deproject from the plane to the sky.Get the description of this component.getName()Get the name of this component.inverse()Get the inverse of the transformation.booleanisInverse(Transformer obj) Are these two transformations, inverses of each other? This method is used to optimize a series of transformations where transformations.voidtransform(double[] plane, double[] sphere) Convert a single point where the output vector is supplied.Methods inherited from class skyview.geometry.Deprojecter
getInputDimension, getOutputDimensionMethods inherited from class skyview.geometry.Transformer
transform, transform
-
Constructor Details
-
ToaDeproj
public ToaDeproj()
-
-
Method Details
-
getName
Description copied from interface:ComponentGet the name of this component. -
getDescription
Description copied from interface:ComponentGet the description of this component. -
isInverse
Description copied from class:TransformerAre these two transformations, inverses of each other? This method is used to optimize a series of transformations where transformations.- Specified by:
isInversein classTransformer
-
inverse
Description copied from class:TransformerGet 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:
inversein classTransformer
-
transform
public void transform(double[] plane, double[] sphere) Description copied from class:TransformerConvert a single point where the output vector is supplied.- Specified by:
transformin 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].
-