public static class BoundaryNodeRule.MonoValentEndPointBoundaryNodeRule extends Objectimplements BoundaryNodeRule
BoundaryNodeRule which determines that only endpoints with valency of exactly 1 are on the boundary. This corresponds to the boundary of a
MultiLineString being all the "unattached" endpoints.
BoundaryNodeRule.EndPointBoundaryNodeRule , BoundaryNodeRule.Mod2BoundaryNodeRule , BoundaryNodeRule.MonoValentEndPointBoundaryNodeRule , BoundaryNodeRule.MultiValentEndPointBoundaryNodeRule ENDPOINT_BOUNDARY_RULE, MOD2_BOUNDARY_RULE, MONOVALENT_ENDPOINT_BOUNDARY_RULE, MULTIVALENT_ENDPOINT_BOUNDARY_RULE, OGC_SFS_BOUNDARY_RULE| Constructor and Description |
|---|
MonoValentEndPointBoundaryNodeRule()
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isInBoundary(int boundaryCount)
Tests whether a point that lies in
boundaryCount geometry component boundaries is considered to form part of the boundary of the parent geometry.
|
public boolean isInBoundary(int boundaryCount)
BoundaryNodeRule
isInBoundary in interface
BoundaryNodeRule
boundaryCount - the number of component boundaries that this point occurs in