Previous Up Next

26.5.7  Finding the points of intersection of two geometric objects in the plane

See Section 27.3.4 for points of intersection of objects in space.

The inter command finds the intersection of two geometric objects in the plane.

Examples

inter(circle(1+i,1/2),line(2,i))

which are the points at (1,0) and (0,1). To get just one of the points, use the usual list indices.To get the point closest to e.g. (0,1/2):

inter(circle(1+i,1/2),line(2,i),i/2)

Previous Up Next