For example:

pts = {{0, 1}, {-(Sqrt[3]/2), -(1/2)}, {Sqrt[3]/2, -(1/2)}};
trig=JoinedCurve[Line[pts], CurveClosed -> True];

Then trig is a closed triangle. If I have a point p={a,b}, how can I judge if p is in the interior of the triangle trig?

  • $\begingroup$ Does "in the triangle" mean "Inside the triangle" or "In the perimeter of ..."? $\endgroup$ – Dr. belisarius Apr 25 '13 at 3:09
  • $\begingroup$ sorry, I mean "inside" $\endgroup$ – goodluck Apr 25 '13 at 3:10

Browse other questions tagged or ask your own question.