loc_cylindrical

MDL-like methodReturns a set of three coordinate values in the Global Frame, to locate a given set of cylindrical values in a given reference frame.

Function Name

loc_cylindrical

Usage

loc_cylindrical (coord, rm)

Arguments

coord
Location or Point.
A point in Cartesian coordinates to be expressed in cylindrical coordinates with respect to the rm marker.
rm
Reference Marker
This marker is the relative reference frame used in the transformation of the point coordinates.

Example

coord = Vector(1,30,0)
rm    = Marker()
coord = loc_cylindrical(coord,rm)
# coord should be this series of coordinates: 0.866,0.5,0