addSelfIntersectionNode method

void addSelfIntersectionNode(
  1. int argIndex,
  2. Coordinate coord,
  3. int loc
)

Implementation

void addSelfIntersectionNode(int argIndex, Coordinate coord, int loc) {
  if (isBoundaryNode(argIndex, coord)) {
    return;
  }

  if ((loc == Location.boundary) && _useBoundaryDeterminationRule) {
    insertBoundaryPoint(argIndex, coord);
  } else {
    insertPoint(argIndex, coord, loc);
  }
}