PyGeo: a dynamic geometry toolkit

chords

line segment connecting the points of a line on a given geometric object

f Chord() ...

factory function returns instance of a class representing the line segment connecting two points of a given geometric object

constructors:
Chord (conic,line )
line segment joining the points of intersection of the given conic and line
Chord (circle,line )
line segment joining the points of intersection of the given circle and line
Chord (circle1,circle2 )
line segment joining the points of intersection of the given 2 circles
Chord (sphere,line )
line segment joining the points of intersection of the given sphere and line

See the source for more information.