|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectskyview.geometry.Transformer
skyview.geometry.Projecter
uk.ac.starlink.ttools.plot2.geom.Sin2
public final class Sin2
Sine (Orthographic) projecter implementation.
This class is copied from the Skyview original class
skyview.geometry.projecter.Sin
.
Apart from changing the name to Sin2 (which is significant since
some implementation behaviour is name-dependent), it just shuffles
the order of the coordinates so that the tangent point is
at (1,0,0) instead of (0,0,1).
Nested Class Summary | |
---|---|
class |
Sin2.Sin2Deproj
|
Constructor Summary | |
---|---|
Sin2()
|
Method Summary | |
---|---|
String |
getDescription()
Get a description of the component |
String |
getName()
Get the name of the component |
skyview.geometry.Deprojecter |
inverse()
Get the inverse transformation |
boolean |
isInverse(skyview.geometry.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. |
boolean |
validPosition(double[] plane)
|
Methods inherited from class skyview.geometry.Projecter |
---|
allValid, getInputDimension, getOutputDimension, getXTiling, getYTiling |
Methods inherited from class skyview.geometry.Transformer |
---|
transform, transform |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Sin2()
Method Detail |
---|
public String getName()
public String getDescription()
public skyview.geometry.Deprojecter inverse()
inverse
in class skyview.geometry.Projecter
public boolean isInverse(skyview.geometry.Transformer t)
isInverse
in class skyview.geometry.Transformer
public final void transform(double[] sphere, double[] plane)
transform
in class skyview.geometry.Transformer
sphere
- a double[3] unit vectorplane
- a double[2] preallocated vector.public boolean validPosition(double[] plane)
validPosition
in class skyview.geometry.Projecter
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |