#include <BoundaryNodeRule.h>
Public Member Functions | |
virtual bool | isInBoundary (int boundaryCount) const =0 |
Static Public Attributes | |
static const BoundaryNodeRule & | MOD2_BOUNDARY_RULE |
The Mod-2 Boundary Node Rule (which is the rule specified in the OGC SFS). | |
static const BoundaryNodeRule & | ENDPOINT_BOUNDARY_RULE |
The Endpoint Boundary Node Rule. | |
static const BoundaryNodeRule & | MULTIVALENT_ENDPOINT_BOUNDARY_RULE |
The MultiValent Endpoint Boundary Node Rule. | |
static const BoundaryNodeRule & | MONOVALENT_ENDPOINT_BOUNDARY_RULE |
The Monovalent Endpoint Boundary Node Rule. | |
static const BoundaryNodeRule & | OGC_SFS_BOUNDARY_RULE |
The Boundary Node Rule specified by the OGC Simple Features Specification, which is the same as the Mod-2 rule. |
An interface for rules which determine whether node points which are in boundaries of Lineal geometry components are in the boundary of the parent geometry collection. The SFS specifies a single kind of boundary node rule, the Mod2BoundaryNodeRule rule. However, other kinds of Boundary Node Rules are appropriate in specific situations (for instance, linear network topology usually follows the EndPointBoundaryNodeRule.) Some JTS operations allow the BoundaryNodeRule to be specified, and respect this rule when computing the results of the operation.
virtual bool geos::algorithm::BoundaryNodeRule::isInBoundary | ( | int | boundaryCount | ) | const [pure virtual] |
Tests whether a point that lies in boundaryCount
geometry component boundaries is considered to form part of the boundary of the parent geometry.
boundaryCount | the number of component boundaries that this point occurs in |
The Endpoint Boundary Node Rule.
The Mod-2 Boundary Node Rule (which is the rule specified in the OGC SFS).
const BoundaryNodeRule& geos::algorithm::BoundaryNodeRule::MONOVALENT_ENDPOINT_BOUNDARY_RULE [static] |
The Monovalent Endpoint Boundary Node Rule.
const BoundaryNodeRule& geos::algorithm::BoundaryNodeRule::MULTIVALENT_ENDPOINT_BOUNDARY_RULE [static] |
The MultiValent Endpoint Boundary Node Rule.
The Boundary Node Rule specified by the OGC Simple Features Specification, which is the same as the Mod-2 rule.