public static class BoundaryNodeRule.MultiValentEndPointBoundaryNodeRule extends Object implements BoundaryNodeRule
BoundaryNodeRule
which determines that only
endpoints with valency greater than 1 are on the boundary.
This corresponds to the boundary of a MultiLineString
being all the "attached" endpoints, but not
the "unattached" ones.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 |
---|
MultiValentEndPointBoundaryNodeRule() |
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.
|
String |
toString() |
public boolean isInBoundary(int boundaryCount)
BoundaryNodeRule
isInBoundary
in interface BoundaryNodeRule
boundaryCount
- the number of component boundaries that this point occurs inCopyright © 2024. All rights reserved.