Skip to content

Instantly share code, notes, and snippets.

@thinkphp
Created May 17, 2026 12:27
Show Gist options
  • Select an option

  • Save thinkphp/44192ebf4bd4c99f63e140dc2e19dc2c to your computer and use it in GitHub Desktop.

Select an option

Save thinkphp/44192ebf4bd4c99f63e140dc2e19dc2c to your computer and use it in GitHub Desktop.
metoda 3 cu distanta euclidiana Puncte coliniare
A x Point(1)
B x Point(2)
C x Point(3)
Slope MEtoda 1:
m1 = panta(A,B)
m2 = panta(B,C)
m1 === m2 coliniare
Determinanta:
x1 y1 1
x2 y2 1 = 0
x3 y3 1
Metoda 3:
Distance(A,B) + Distanta(B,C) = Distanta(A,C) coliniare
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment