public abstract class Projecter extends Transformer
Constructor and Description |
---|
Projecter() |
Modifier and Type | Method and Description |
---|---|
boolean |
allValid()
Are all points in the projection plane valid?
|
protected int |
getInputDimension()
What is the input dimensionality of a projecter?
|
protected int |
getOutputDimension()
What is the output dimensionality of a projecter?
|
double |
getXTiling()
Some projections can tile the projection plane with repeated
copies.
|
double |
getYTiling()
The tiling period in Y
|
abstract Deprojecter |
inverse()
Get the inverse
|
double[] |
shadowPoint(double x,
double y)
Return a shadowpoint for the input location.
|
boolean |
straddle(double[][] pnts)
Does this pixel go wrap around the standard region of the image?
E.g., does it straddle the 180 deg in a Car or Ait projection?
|
boolean |
straddleable()
Is it possible for a pixel to straddle the valid region.
|
double[][][] |
straddleComponents(double[][] pnts)
If this is a straddling pixel, then return the straddle components
|
double[] |
tissot(double x,
double y)
Return the Tissot ellipse parameters for the projection.
|
boolean |
validPosition(double[] pos)
Is this a valid position in the projection plane for this image.
|
isInverse, transform, transform, transform
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDescription, getName
public abstract Deprojecter inverse()
inverse
in class Transformer
protected int getOutputDimension()
getOutputDimension
in class Transformer
protected int getInputDimension()
getInputDimension
in class Transformer
public double getXTiling()
public double getYTiling()
public boolean validPosition(double[] pos)
public boolean allValid()
public boolean straddleable()
public boolean straddle(double[][] pnts)
public double[][][] straddleComponents(double[][] pnts)
public double[] shadowPoint(double x, double y)
public double[] tissot(double x, double y)
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.