GEOS 3.11.2
|
#include <PolygonNodeTopology.h>
Static Public Member Functions | |
static bool | isCrossing (const Coordinate *nodePt, const Coordinate *a0, const Coordinate *a1, const Coordinate *b0, const Coordinate *b1) |
static bool | isInteriorSegment (const Coordinate *nodePt, const Coordinate *a0, const Coordinate *a1, const Coordinate *b) |
Functions to compute topological information about nodes (ring intersections) in polygonal geometry.
|
static |
Tests whether an segment node-b lies in the interior or exterior of a corner of a ring formed by the two segments a0-node-a1. The ring interior is assumed to be on the right of the corner (i.e. a CW shell or CCW hole). The test segment must not be collinear with the corner segments.
nodePt | the node location |
a0 | the first vertex of the corner |
a1 | the second vertex of the corner |
b | the other vertex of the test segment |