IsSimpleOp.withGeomAndRule constructor
IsSimpleOp.withGeomAndRule(
- Geometry inputGeom,
- BoundaryNodeRule boundaryNodeRule
Creates a simplicity checker using a given {@link BoundaryNodeRule}
@param geom the geometry to test @param boundaryNodeRule the rule to use.
Implementation
IsSimpleOp.withGeomAndRule(
this.inputGeom, BoundaryNodeRule boundaryNodeRule) {
isClosedEndpointsInInterior = !boundaryNodeRule.isInBoundary(2);
}