Package skyview.geometry.projecter
Class Stg
- java.lang.Object
-
- skyview.geometry.Transformer
-
- skyview.geometry.Projecter
-
- skyview.geometry.projecter.Stg
-
- All Implemented Interfaces:
Serializable
,Component
public class Stg extends Projecter
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
Stg.StgDeproj
-
Constructor Summary
Constructors Constructor Description Stg()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
allValid()
The entire projection plane is validString
getDescription()
Get a description of the componentString
getName()
Get the name of the compontentDeprojecter
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.-
Methods inherited from class skyview.geometry.Projecter
getInputDimension, getOutputDimension, getXTiling, getYTiling, shadowPoint, straddle, straddleable, straddleComponents, tissot, validPosition
-
Methods inherited from class skyview.geometry.Transformer
transform, transform
-
-
-
-
Method Detail
-
getName
public String getName()
Get the name of the compontent
-
getDescription
public String getDescription()
Get a description of the component
-
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.
-
allValid
public boolean allValid()
The entire projection plane is valid
-
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
-
-