tp16_2de_corr.py

Created by jean-luc-poncin

Created on June 07, 2022

178 Bytes


from math import *

def al(x1,y1,x2,y2,x3,y3):
  a=x2-x1
  b=y2-y1
  c=x3-x1
  b=y3-y1
  det=a*d-b*c
  if(det==0):
    return(True)
  else:
    return(False)