Ejemplo n.º 1
0
        public override bool ContainsPoint(Vector2 point)
        {
            var points = GetPoints();

            return(TriangleMath.Contains2DPoint(point, points[0], points[1], points[2], _epsilon));
        }
Ejemplo n.º 2
0
 public override bool ContainsPoint(Vector2 point)
 {
     return(TriangleMath.Contains2DPoint(point, BaseLeft, Tip, BaseRight));
 }
Ejemplo n.º 3
0
 public override bool ContainsPoint(Vector2 point)
 {
     return(TriangleMath.Contains2DPoint(point, GetPoint(EqTrianglePoint.Left), GetPoint(EqTrianglePoint.Top), GetPoint(EqTrianglePoint.Right), _epsilon));
 }