ABC

ACB

BCA

\text{Pohybujte bodmi }A,B,C.

A = (1.52, -1)
B = (8.16, -0.489090909090914)
C = (3.26, 3.06)
a = Polrovina(A, C, B)
b = Polrovina(C, B, A)
c = Polrovina(B, A, C)
d = true
e = true
f = true

Tool: Polrovina
Zvoľte 3 body
Input: A, B, C
Output: d

u = Vector(A, B)
a(x, y) = (y(u) * (x - x(A))) - (x(u) * (y - y(A))) ≥ 0
c(x, y) = (y(u) * (x - x(A))) - (x(u) * (y - y(A))) ≤ 0
b: a(C)
d = If(b, a, c)