public class Cah extends Projecter
The projection is centered at the north pole. The south pole is projected to the four corners at (+/-1, +/-1). The equator projects to the diagonals running between the points (-1,0)->(0,1), (0,1)->(1,0), (1,0)->(0,-1), (-1,0)->(0,-1). These diagonals divide the four unit squares at the center of the coordinate grid into 8 right isoceles triangles.
Modifier and Type | Class and Description |
---|---|
class |
Cah.CahDeproj
Deproject from the plane back to the unit sphere
|
Constructor and Description |
---|
Cah() |
Modifier and Type | Method and Description |
---|---|
String |
getDescription()
Get the description of this component.
|
String |
getName()
Get the name of this component.
|
Deprojecter |
inverse()
Get the inverse
|
boolean |
isInverse(Transformer obj)
Are these two transformations, inverses of each other? This
method is used to optimize a series of transformations where
transformations.
|
static void |
main(String[] args) |
void |
transform(double[] unit,
double[] plane)
Convert a single point where the output vector is supplied.
|
allValid, getInputDimension, getOutputDimension, getXTiling, getYTiling, shadowPoint, straddle, straddleable, straddleComponents, tissot, validPosition
transform, transform
public String getName()
Component
public String getDescription()
Component
public boolean isInverse(Transformer obj)
Transformer
isInverse
in class Transformer
public Deprojecter inverse()
Projecter
public void transform(double[] unit, double[] plane)
Transformer
transform
in class Transformer
unit
- 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.