public class NullProjection extends AbstractProjection implements InverseProjection
defaultProjections
X, Y, Z
U, V, W
Constructor and Description |
---|
NullProjection()
Creates a null projection.
|
Modifier and Type | Method and Description |
---|---|
Projection |
copy()
Returns a deep copy of the projection.
|
double[] |
deltaTransform(double[] xyz)
Returns an array of length 3: uvw = delta projection(xyz).
|
String |
getFormula()
Returns the formula in text readable form
|
double[] |
inverseDeltaTransform(double[] uvw)
Returns an array of length 3: xyz = inverse delta projection(uvw).
|
double[] |
inverseTransform(double[] uvw)
Returns an array of length 3: xyz = inverse projection(uvw).
|
double[] |
transform(double[] xyz)
Returns an array of length 3: uvw = projection(xyz).
|
double[][] |
transform(double[][] xyz,
int n)
Implements this method in terms of double[] transform(double[] xyz).
|
getFeature, getID, getName, getViewPort, restore, save, setViewPort, supports, toString, transform, transform
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getFeature, getName, getViewPort, setViewPort, supports, transform, transform
getID
public String getFormula()
Projection
getFormula
in interface Projection
getFormula
in class AbstractProjection
public double[] transform(double[] xyz)
Projection
transform
in interface Projection
transform
in class AbstractProjection
public double[][] transform(double[][] xyz, int n)
AbstractProjection
transform
in interface Projection
transform
in class AbstractProjection
public double[] deltaTransform(double[] xyz)
Projection
deltaTransform
in interface Projection
deltaTransform
in class AbstractProjection
public double[] inverseTransform(double[] uvw) throws UnsupportedOperationException
InverseProjection
inverseTransform
in interface InverseProjection
UnsupportedOperationException
public double[] inverseDeltaTransform(double[] uvw) throws UnsupportedOperationException
InverseProjection
inverseDeltaTransform
in interface InverseProjection
UnsupportedOperationException
public Projection copy()
Projection
copy
in interface Projection
copy
in class AbstractProjection
Copyright © 1996-2014 FreeHEP. All Rights Reserved.