Package skyview.geometry.projecter
Class Csc
- java.lang.Object
-
- skyview.geometry.Transformer
-
- skyview.geometry.Projecter
-
- skyview.geometry.projecter.Csc
-
- All Implemented Interfaces:
Serializable
,Component
public final class Csc extends Projecter
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
Csc.CscDeproj
-
Constructor Summary
Constructors Constructor Description Csc()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDescription()
Get a descrption of the componentString
getName()
Get the name of the componentdouble
getXTiling()
This map can repeat in X.Deprojecter
inverse()
Get the inverse transformationboolean
isInverse(Transformer t)
Is this an inverse of some other transformation?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, getYTiling, shadowPoint, straddle, straddleable, straddleComponents, tissot
-
Methods inherited from class skyview.geometry.Transformer
transform, transform
-
-
-
-
Method Detail
-
getName
public String getName()
Get the name of the component
-
getDescription
public String getDescription()
Get a descrption of the component
-
inverse
public Deprojecter inverse()
Get the inverse transformation
-
isInverse
public boolean isInverse(Transformer t)
Is this an inverse of some other transformation?- Specified by:
isInverse
in classTransformer
-
getXTiling
public double getXTiling()
This map can repeat in X.- Overrides:
getXTiling
in classProjecter
- Returns:
- The period in X in radians. A value of 0 means that there is not periodicity.
-
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
-
-