Utility.PointInTriangle (Double, Double, Double, Double, Double, Double, Double, Double) Method
Parameters
- xP
- double
The point's X-coordinate
- yP
- double
The point's y-coordinate
- x1
- double
The first triangle vertex's X-coordinate
- y1
- double
The first triangle vertex's y-coordinate
- x2
- double
The second triangle vertex's X-coordinate
- y2
- double
The second triangle vertex's y-coordinate
- x3
- double
The third triangle vertex's X-coordinate
- y3
- double
The third triangle vertex's y-coordinate
Return Value
boolReturns true if the point is inside the triangle, false otherwise.