|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object visad.CoordinateSystem visad.CylindricalCoordinateSystem
public class CylindricalCoordinateSystem
CylindricalCoordinateSystem is the VisAD CoordinateSystem class for (CylRadius, CylAzimuth, CylZAxis) with a Cartesian Reference, (XAxis, YAxis, ZAxis) and with CylAzimuth in degrees.
Constructor Summary | |
---|---|
CylindricalCoordinateSystem(RealTupleType reference)
construct a CoordinateSystem for (radius, azimuth, zaxis) relative to a 3-D Cartesian reference; this constructor supplies units = {null, CommonUnit.Degree, null} to the super constructor, in order to ensure Unit compatibility with its use of trigonometric functions |
Method Summary | |
---|---|
boolean |
equals(Object cs)
determine if the CoordinateSystem in question is a Cylindrical one |
double[][] |
fromReference(double[][] tuples)
Convert Cartesian coordinates (x, y, z) to cylindrical coordinates (radius, azimuth, z). |
float[][] |
fromReference(float[][] tuples)
Convert Cartesian coordinates (x, y, z) to cylindrical coordinates (radius, azimuth, z). |
double[][] |
toReference(double[][] tuples)
Convert cylindrical coordinates (radius, azimuth, z) to Cartesian coordinates (x, y, z). |
float[][] |
toReference(float[][] tuples)
Convert cylindrical coordinates (radius, azimuth, z) to Cartesian coordinates (x, y, z). |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CylindricalCoordinateSystem(RealTupleType reference) throws VisADException
reference
- Cartesian reference in the order of x, y, z
VisADException
- necessary VisAD object could not be createdMethod Detail |
---|
public double[][] toReference(double[][] tuples) throws CoordinateSystemException
toReference
in class CoordinateSystem
tuples
- double array containing the radius, azimuth and z values.
CoordinateSystemException
- if input array is null or wrong
dimension.public double[][] fromReference(double[][] tuples) throws CoordinateSystemException
fromReference
in class CoordinateSystem
tuples
- double array in Cartesian coordinates ordered as x, y, z
CoordinateSystemException
- if input array is null or wrong
dimension.public float[][] toReference(float[][] tuples) throws CoordinateSystemException
toReference
in class CoordinateSystem
tuples
- float array containing the radius, azimuth and z values.
CoordinateSystemException
- if input array is null or wrong
dimension.public float[][] fromReference(float[][] tuples) throws CoordinateSystemException
fromReference
in class CoordinateSystem
tuples
- float array in Cartesian coordinates ordered as x, y, z
CoordinateSystemException
- if input array is null or wrong
dimension.public boolean equals(Object cs)
equals
in class CoordinateSystem
cs
- the CoordinateSystem in question
true
if and only if this instance equals cs.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |