Class CartesianToPolar

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

final class CartesianToPolar extends CoordinateSystemTransform implements Serializable
Conversions from two-dimensional Cartesian coordinates to polar coordinates. This conversion assumes that there is no datum change.

See PolarToCartesian for explanation on axes convention. Axis order shall match the order defined by Normalizer in org.apache.sis.referencing.cs package.

Note: We do not provide explicit CartesianToCylindrical 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