Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有两个点P1=(1,1),P2=(5,5)现在我想在 P1 和 P2 之间画一条线时得到所有的点。在目标 C 中务实地输出是(1,1),(2,2),(3,3),(4,4)(5,5)
P1=(1,1)
P2=(5,5)
(1,1),(2,2),(3,3),(4,4)(5,5)