用叉积判断点在线的左侧还是右侧: 记住那句话,逆正顺负(因为参数的设置不同而不同) 9 3 -2 4 -------------------------------- Process exited with return value 0