GeometryGraphOperation.withRule constructor
GeometryGraphOperation.withRule(
- Geometry g0,
- Geometry g1,
- BoundaryNodeRule boundaryNodeRule
Implementation
GeometryGraphOperation.withRule(
Geometry g0, Geometry g1, BoundaryNodeRule boundaryNodeRule) {
// use the most precise model for the result
if (g0.getPrecisionModel().compareTo(g1.getPrecisionModel()) >= 0)
setComputationPrecision(g0.getPrecisionModel());
else
setComputationPrecision(g1.getPrecisionModel());
arg = []; //..length = (2);
arg.add(new GeometryGraph.args3(0, g0, boundaryNodeRule));
arg.add(new GeometryGraph.args3(1, g1, boundaryNodeRule));
// arg[0] = new GeometryGraph.args3(0, g0, boundaryNodeRule);
// arg[1] = new GeometryGraph.args3(1, g1, boundaryNodeRule);
}