Points 2d can be represented alternatively using carthesian or polar coordinates. These two representation are linked by the following formula :
where :
is the L2 norm (euclidian norm) of 
is the azimuth
Lines 2d can be represented using polar coordinates.
where :
is the angle (in radian) between line normal and axis of abscissas
is the distance from line to origin
Rotations 2d are expressed with respect to direct referential orientation.
A 2d rotation with angle
can be represented as follow :
Given a point
, its transformed is obtain by :
axis
is transformed in
.
axis
is transformed in
.Points 3d can be represented alternatively using carthesian or spherical coordinates. These two representation are linked by the following formula :
where :
is the L2 norm (euclidian norm) of 
is the inclination
is the azimuth
Plans 3d can be represented using spherical coordinates.
where :
is the orthogonal direction to plan.
is the distance from plan to origin
Rotations 3d are expressed with respect to direct referential orientation.
These rotations can be expressed as the product of three elemental rotations using Euler notations :
where :
is a rotation around
axis
is a rotation around
axis
is a rotation around
axis
Full rotation matrix is given by :