public static class BoundaryNodeRule.MonoValentEndPointBoundaryNodeRule extends Object implements 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.MultiValentEndPointBoundaryNodeRuleENDPOINT_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.
|
String |
toString() |
public boolean isInBoundary(int boundaryCount)
BoundaryNodeRuleisInBoundary in interface BoundaryNodeRuleboundaryCount - the number of component boundaries that this point occurs inCopyright © 2024. All rights reserved.