Package skyview.geometry.projecter
Class Car
java.lang.Object
skyview.geometry.Transformer
skyview.geometry.Projecter
skyview.geometry.projecter.Car
- All Implemented Interfaces:
Serializable,Component
This class implements the Cartesian (rectangular)
projection. Note that the tangent point
is assumed to be at the north pole.
This class assumes preallocated arrays for
maximum efficiency.
- See Also:
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanallValid()The entire plane is validReturn a description of the componentgetName()Get the name of the compontentdoubleGet tile offsetsdoubleGet tile offsetsinverse()Get the inverse transformationbooleanIs this an inverse of some other transformation?double[]shadowPoint(double x, double y) Find the shadow to this pointbooleanstraddle(double[][] vertices) Does this area appear to straddle the standard region?booleanIs it possible for a pixel to straddle the valid region.double[][][]straddleComponents(double[][] inputs) Return a set of straddle points.double[]tissot(double x, double y) Return the Tissot indicatrix for pointfinal voidtransform(double[] sphere, double[] plane) Do the transformationMethods inherited from class skyview.geometry.Projecter
getInputDimension, getOutputDimension, validPositionMethods inherited from class skyview.geometry.Transformer
transform, transform
-
Constructor Details
-
Car
public Car()
-
-
Method Details
-
getName
Get the name of the compontent -
getDescription
Return a description of the component -
inverse
Get the inverse transformation -
getXTiling
public double getXTiling()Get tile offsets- Overrides:
getXTilingin classProjecter- Returns:
- The period in X in radians. A value of 0 means that there is not periodicity.
-
getYTiling
public double getYTiling()Get tile offsets- Overrides:
getYTilingin classProjecter- Returns:
- The tiling period in radians. A value of 0 means that there is no period.
-
isInverse
Is this an inverse of some other transformation?- Specified by:
isInversein classTransformer
-
shadowPoint
public double[] shadowPoint(double x, double y) Find the shadow to this point- Overrides:
shadowPointin classProjecter
-
transform
public final void transform(double[] sphere, double[] plane) Do the transformation- Specified by:
transformin classTransformer- Parameters:
sphere- The input vector.plane- 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.
-
allValid
public boolean allValid()The entire plane is valid -
straddle
public boolean straddle(double[][] vertices) Does this area appear to straddle the standard region? -
straddleable
public boolean straddleable()Description copied from class:ProjecterIs it possible for a pixel to straddle the valid region.- Overrides:
straddleablein classProjecter
-
straddleComponents
public double[][][] straddleComponents(double[][] inputs) Return a set of straddle points.- Overrides:
straddleComponentsin classProjecter
-
tissot
public double[] tissot(double x, double y) Return the Tissot indicatrix for point- Overrides:
tissotin classProjecter- Parameters:
x- The X-value at which the Tissot indicatrix is to be calculated.y- The Y-value at which the Tissot indicatrix is to be calculated.- Returns:
- A three element double vector [Semimajor, semiminor, position angle] with the axes size and positional angle of the ellipse.
-