Find if a point is inside or outside of a triangle
Triangle coordinates
Triangle lines equations
Test point
a
_{x}
a
_{y}
y =
x +
p
_{x}
p
_{y}
b
_{x}
b
_{y}
y =
x +
c
_{x}
c
_{y}
y =
x +
Point location:
Find if a point is inside or outside of a circle
Circle equation:
( x -
)
^{2}
+ ( y -
)
^{2}
=
x
^{2}
+ y
^{2}
+
x +
y +
= 0
Test point (x ,y):
(
,
)
Point location: