public class Tot 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 |
Tot.TotDeproj
Deproject from the plane back to the unit sphere
|
Constructor and Description |
---|
Tot() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDescription()
Get the description of this component.
|
java.lang.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(java.lang.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 java.lang.String getName()
Component
public java.lang.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.public static void main(java.lang.String[] args) throws java.lang.Exception
java.lang.Exception