Class PolarToCartesian

All Implemented Interfaces:
Serializable, Parameterized, LenientComparable, org.opengis.referencing.operation.MathTransform

final class PolarToCartesian extends CoordinateSystemTransform implements Serializable
Conversions from polar coordinates to two-dimensional Cartesian coordinates. This conversion assumes that there is no datum change. Source axis order is:
  • Radius (r)
  • Angle (θ)
  • Height (z) in the cylindrical case (see below)
Target axis order is:
  • x in the direction of θ = 0°
  • y in the direction of θ = 90°
  • z in the same direction than the source (cylindrical case only - see below)
Axis order shall match the order defined by Normalizer in org.apache.sis.referencing.cs package.
Note: We do not provide explicit CylindricalToCartesian implementation. Instead, the cylindrical case is implemented by the polar case with a PassThroughTransform for the height. This allows Apache SIS to use the optimization implemented by PassThroughTransform when for example a concatenated transform is dropping the z axis.
Since:
0.7
Version:
0.7