You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tryed the method PolygonVisibility.ComputeVisibility , but encountered a AccessViolationException error bug.
Here is my code:
var points = new Point2d[]
{
new Point2d(0, 0),
new Point2d(5, 0),
new Point2d(5, 5),
new Point2d(0, 5),
};
var poly = new Polygon2<EEK>(points);
var pv = new PolygonVisibility<EEK>();
var pt = new Point2d(0, 0);
Polygon2<EEK> result;
pv.ComputeVisibility(pt, poly, out result);
The error is System.AccessViolationException:“Attempted to read or write protected memory. This is often an indication that other memory is corrupt.” which appeared at pv.ComputeVisibility(pt, poly, out result);
The text was updated successfully, but these errors were encountered:
I tryed the method PolygonVisibility.ComputeVisibility , but encountered a AccessViolationException error bug.
Here is my code:
The error is
System.AccessViolationException:“Attempted to read or write protected memory. This is often an indication that other memory is corrupt.”
which appeared atpv.ComputeVisibility(pt, poly, out result);
The text was updated successfully, but these errors were encountered: