Package skyview.geometry.projecter
Class Zpn
java.lang.Object
skyview.geometry.Transformer
skyview.geometry.Projecter
skyview.geometry.projecter.Zpn
- All Implemented Interfaces:
Serializable
,Component
- See Also:
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet a description for the componentgetName()
Get a name for the componentprotected double[]
inverse()
Get the inverse of the transformationboolean
Is this an inverse of some other transformation?protected void
setParams
(double[] newParams) final 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
-
Constructor Details
-
Zpn
public Zpn()
-
-
Method Details
-
getName
Get a name for the component -
getParams
protected double[] getParams() -
setParams
protected void setParams(double[] newParams) -
getDescription
Get a description for the component -
inverse
Get the inverse of the transformation -
isInverse
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
-