loc_rel_to

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

Function Name

loc_rel_to

Usage

loc_rel_to (point, marker)

Arguments

point
Location or Point.
The point to be expressed relative to the Marker argument.
marker
Reference Marker
This marker is the relative reference frame used in the transformation of the point coordinates.

Example

point = Point(16,8,0)
rm    = Marker(qp=(4,6,0),xp=(4,7,0),zp=(4,6,1))
coord = loc_rel_to(point,rm)
# coord should be a point located at -4, 22, 0