public interface Projection extends ProjectionFeature, WiredRegistry.ID, XYZindices, UVWindices, org.freehep.xml.io.XMLIO
X, Y, Z
U, V, W
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).
|
Feature |
getFeature(Class featureClass)
Return Feature if implemented, otherwise null.
|
String |
getFormula()
Returns the formula in text readable form
|
String |
getName()
Returns the name of the projection.
|
ViewPort |
getViewPort()
Returns the associated viewport.
|
void |
setViewPort(ViewPort viewPort)
Sets the associated viewport.
|
boolean |
supports(Class featureClass)
Return true if this (composite) projection implements this featureClass.
|
double[] |
transform(double[] xyz)
Returns an array of length 3: uvw = projection(xyz).
|
double[][] |
transform(double[][] xyz,
int n)
Returns an array of length 3*n: uvw[][n] = projection(xyz[][n]).
|
double[] |
transform(ViewPort viewPort,
double[] xyz)
Returns an array of length 3: uvw = viewPort(projection(xyz)).
|
double[][] |
transform(ViewPort viewPort,
double[][] xyz,
int n)
Returns an array of length 3*n: uvw[][n] =
viewPort(projection(xyz[][n])).
|
getID
String getName()
String getFormula()
boolean supports(Class featureClass)
void setViewPort(ViewPort viewPort)
ViewPort getViewPort()
double[] transform(ViewPort viewPort, double[] xyz)
double[] transform(double[] xyz)
double[][] transform(ViewPort viewPort, double[][] xyz, int n)
double[][] transform(double[][] xyz, int n)
double[] deltaTransform(double[] xyz)
Projection copy()
Copyright © 1996-2014 FreeHEP. All Rights Reserved.