public static IGeometry GetBoundary(IGeometry g, IBoundaryNodeRule bnRule) { var bop = new BoundaryOp(g, bnRule); return(bop.GetBoundary()); }
public static IGeometry GetBoundary(IGeometry g) { var bop = new BoundaryOp(g); return(bop.GetBoundary()); }
public static IGeometry GetBoundary(IGeometry g, IBoundaryNodeRule bnRule) { var bop = new BoundaryOp(g, bnRule); return bop.GetBoundary(); }
private static void RunBoundaryTest(String wkt, IBoundaryNodeRule bnRule, String wktExpected) { IGeometry g = rdr.Read(wkt); IGeometry expected = rdr.Read(wktExpected); BoundaryOp op = new BoundaryOp(g, bnRule); IGeometry boundary = op.GetBoundary(); boundary.Normalize(); // System.out.println("Computed Boundary = " + boundary); Assert.IsTrue(boundary.EqualsExact(expected)); }
public static IGeometry GetBoundary(IGeometry g) { var bop = new BoundaryOp(g); return bop.GetBoundary(); }