acm几何学算法基础.pptxVIP

  • 10
  • 0
  • 约9.37千字
  • 约 50页
  • 2020-02-28 发布于上海
  • 举报
Intersecting Lines We all know that a pair of distinct points on a plane defines a line and that a pair of lines on a plane will intersect in one of three ways: 1) no intersection because they are parallel, 2) intersect in a line because they are on top of one another (i.e. they are the same line), 3) intersect in a point. In this problem you will use your algebraic knowledge to create a program that determines how and where two lines intersect. Your program will repeatedly read in four points that define two lines in the x-y plane and determine how and where the lines intersect. All numbers

文档评论(0)

1亿VIP精品文档

相关文档