maspack.spatialmotion.projections
Class PolarProjector

java.lang.Object
  extended by maspack.spatialmotion.projections.PolarProjector
All Implemented Interfaces:
SphericalProjector

public class PolarProjector
extends java.lang.Object
implements SphericalProjector


Nested Class Summary
static class PolarProjector.Pole
           
 
Nested classes/interfaces inherited from interface maspack.spatialmotion.projections.SphericalProjector
SphericalProjector.ProjectorType
 
Field Summary
static int CENTER
           
 
Constructor Summary
PolarProjector()
           
 
Method Summary
 int getFlags()
           
 void getJacobian(double X, double Y, double[] out)
           
 void getJacobian(double x, double y, double z, double[] out)
           
 PolarProjector.Pole getPole()
           
 SphericalProjector.ProjectorType getType()
           
 void planeToSphere(double X, double Y, double[] out)
           
static void planeToSphere(double X, double Y, double[] out, PolarProjector.Pole pole, int flags)
           
 void setFlags(int flags)
           
 void setPole(PolarProjector.Pole pole)
           
 void sphereToPlane(double x, double y, double z, double[] out)
           
static void sphereToPlane(double x, double y, double z, double[] out, PolarProjector.Pole pole, int flags)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CENTER

public static int CENTER
Constructor Detail

PolarProjector

public PolarProjector()
Method Detail

getPole

public PolarProjector.Pole getPole()

setPole

public void setPole(PolarProjector.Pole pole)

planeToSphere

public static void planeToSphere(double X,
                                 double Y,
                                 double[] out,
                                 PolarProjector.Pole pole,
                                 int flags)

sphereToPlane

public static void sphereToPlane(double x,
                                 double y,
                                 double z,
                                 double[] out,
                                 PolarProjector.Pole pole,
                                 int flags)

planeToSphere

public void planeToSphere(double X,
                          double Y,
                          double[] out)
Specified by:
planeToSphere in interface SphericalProjector

sphereToPlane

public void sphereToPlane(double x,
                          double y,
                          double z,
                          double[] out)
Specified by:
sphereToPlane in interface SphericalProjector

setFlags

public void setFlags(int flags)

getFlags

public int getFlags()

getType

public SphericalProjector.ProjectorType getType()
Specified by:
getType in interface SphericalProjector

getJacobian

public void getJacobian(double X,
                        double Y,
                        double[] out)
Specified by:
getJacobian in interface SphericalProjector

getJacobian

public void getJacobian(double x,
                        double y,
                        double z,
                        double[] out)
Specified by:
getJacobian in interface SphericalProjector