# Constructs a line from origo to a point
# The line is drawn
# Uses ScorpionGeometry.py
from ScorpionGeometry import *
line = Lin(Vec(0,0),center)
ok = DrawLine('ArcialRef',line.p.x,line.p.y,line.v.x,line.v.y,'green',4,7)
# a marker is drawn at the end-point
ok = DrawMarker("ArcialRef",center.x,center.y,'blue',2,22)
|