isAnyTestComponentInTarget method

bool isAnyTestComponentInTarget(
  1. Geometry testGeom
)

Implementation

bool isAnyTestComponentInTarget(Geometry testGeom) {
  final coords = ComponentCoordinateExtracter.getCoordinates(testGeom);
  for (var p in coords) {
    int loc = _targetPointLocator.locate(p);
    if (loc != Location.exterior) return true;
  }
  return false;
}