sc2qsr.agents
sc2qsr.spatial.qualitative
sc2qsr.spatial.quantitative
sc2qsr.rl.tabular
sc2qsr.sc2info.unitstats
sc2qsr.sc2info.mapinfo
sc2qsr.spatial.quantitative.
cart2pol
Convert cartesian coordinates to polar
x (float) – cartesian coordinate in the X direction
y (float) – cartesian coordinate in the Y direction
a tuple containing the euclidean distance of point (x,y) and its angle in radians, w.r.t. to the origin
tuple
pol2cart
Convert polar coordinates to cartesian
rho (float) – distance of the point to the origin
phi (float) – angle of the point wrt. to the origin
a tuple containing the (x,y) coordinates of the point w.r.t. the origin