I am aware of how to create centroids and how to divide a polygon by line, but not how to create those lines from each centroid.
I was wondering if anybody knows a technique/algorithm/plugin that helps with splitting a polygon by its centroid, like in pizza slices.
I have some territories that I would like to split by their centroid. Once I have these "pizza slices" of each polygon, I will intersect the slices with a border polygon (created through a Buffer), which aims to perform a spatial RDD (Regression Discontinuity Design) to see whether the points are located in one or the other side of the border. I attach here an example of what I mean (and that I have created manually on Paint to show you).
The red points are the point units whose location I aim to analyze. The yellow dots I have painted myself, represent the centroids of each polygon.
The blue lines are what I would be aiming at. I know that the Voronoi polygons will divide an area of points in equal-size polygons, but that is not what I need.
Could anybody give me a hand on this?