public void IsInsidePolygonWithHolesSuccessTests(double x, double y) { var point = new PointD(x, y); Assert.True(point.IsInside(_polygonWithHoles)); }
public void IsInsideTriangleContourWhenBordersAreNotInclude() { var point = new PointD(0, 3); Assert.False(point.IsInside(_triangleContour, false)); }
public void IsInsideWhenPointIsNode3() { var point = new PointD(3, 2.9); Assert.True(point.IsInside(_convexContour)); }
public void IsInsideWhenPointIsNode2() { var point = new PointD(3, 3); Assert.True(point.IsInside(_notConvexContour)); }
public void IsInsideWhenPointOnBorder2() { var point = new PointD(-3, 0); Assert.True(point.IsInside(_notConvexContour)); }
public void IsInsideWhenPointIsOutsideNotConvexContour2() { var point = new PointD(0, 1); Assert.False(point.IsInside(_notConvexContour)); }