com.vividsolutions.jts.algorithm
Class BoundaryNodeRule.MonoValentEndPointBoundaryNodeRule

java.lang.Object
  extended bycom.vividsolutions.jts.algorithm.BoundaryNodeRule.MonoValentEndPointBoundaryNodeRule
All Implemented Interfaces:
BoundaryNodeRule
Enclosing class:
BoundaryNodeRule

public static class BoundaryNodeRule.MonoValentEndPointBoundaryNodeRule
extends java.lang.Object
implements BoundaryNodeRule

A 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.

Version:
1.7
Author:
Martin Davis

Nested Class Summary
 
Nested classes inherited from class com.vividsolutions.jts.algorithm.BoundaryNodeRule
BoundaryNodeRule.EndPointBoundaryNodeRule, BoundaryNodeRule.Mod2BoundaryNodeRule, BoundaryNodeRule.MonoValentEndPointBoundaryNodeRule, BoundaryNodeRule.MultiValentEndPointBoundaryNodeRule
 
Field Summary
 
Fields inherited from interface com.vividsolutions.jts.algorithm.BoundaryNodeRule
ENDPOINT_BOUNDARY_RULE, MOD2_BOUNDARY_RULE, MONOVALENT_ENDPOINT_BOUNDARY_RULE, MULTIVALENT_ENDPOINT_BOUNDARY_RULE, OGC_SFS_BOUNDARY_RULE
 
Constructor Summary
BoundaryNodeRule.MonoValentEndPointBoundaryNodeRule()
           
 
Method Summary
 boolean isInBoundary(int boundaryCount)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BoundaryNodeRule.MonoValentEndPointBoundaryNodeRule

public BoundaryNodeRule.MonoValentEndPointBoundaryNodeRule()
Method Detail

isInBoundary

public boolean isInBoundary(int boundaryCount)
Specified by:
isInBoundary in interface BoundaryNodeRule