Package skyview.geometry.projecter
Class Zpn
- java.lang.Object
-
- skyview.geometry.Transformer
-
- skyview.geometry.Projecter
-
- skyview.geometry.projecter.Zpn
-
- All Implemented Interfaces:
Serializable
,Component
public class Zpn extends Projecter
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
Zpn.ZpnDeproj
-
Constructor Summary
Constructors Constructor Description Zpn()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDescription()
Get a description for the componentString
getName()
Get a name for the componentprotected double[]
getParams()
Deprojecter
inverse()
Get the inverse of the transformationboolean
isInverse(Transformer t)
Is this an inverse of some other transformation?protected void
setParams(double[] newParams)
void
transform(double[] sphere, double[] plane)
Project a point from the sphere to the plane.boolean
validPosition(double[] plane)
Is this a valid position in the projection plane for this image.-
Methods inherited from class skyview.geometry.Projecter
allValid, getInputDimension, getOutputDimension, getXTiling, getYTiling, shadowPoint, straddle, straddleable, straddleComponents, tissot
-
Methods inherited from class skyview.geometry.Transformer
transform, transform
-
-
-
-
Method Detail
-
getName
public String getName()
Get a name for the component
-
getParams
protected double[] getParams()
-
setParams
protected void setParams(double[] newParams)
-
getDescription
public String getDescription()
Get a description for the component
-
inverse
public Deprojecter inverse()
Get the inverse of the transformation
-
isInverse
public boolean isInverse(Transformer t)
Is this an inverse of some other transformation?- Specified by:
isInverse
in classTransformer
-
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.
-
validPosition
public boolean validPosition(double[] plane)
Description copied from class:Projecter
Is this a valid position in the projection plane for this image. This default is appropriate for all projections where the projection plane is infinite.- Overrides:
validPosition
in classProjecter
-
-