geotrellis.geometry.rasterizer
These intercepts are combinations of the previous ones.
These intercept case classes directly map to a single GridLine intersecting the row we're interested in.
Regions represent areas of the raster where we want to draw our polygon.
Process an array of intercepts, creating synthetic intercepts out of the relevant combinatios of simple intercepts.
Process an array of intercepts, creating synthetic intercepts out of the relevant combinatios of simple intercepts.
Examples: Start + End -> Hinge Start + Start -> Spike Start + Horizontal + Start -> HorizontalSpike
Given a row of interest and the lines we know will intersect it, constructs an array of intercepts which fully cross our row.
Given a row of interest and the lines we know will intersect it, constructs an array of intercepts which fully cross our row. This involves creating synthetic intercepts where necessary.
Given a row, a function, and an array of intercepts, create regions wherever the polygon is visible on this row.
draw an array of polygons (with corresponding values) into an integer array with the dimensions: cols x rows.
draw an array of polygons (with corresponding values) into raster.
quantize an array of polygons based on a raster's extent, and then draw them into the provided raster.
add a new layer to our final set of ranges (splitting ranges where they intersect with existing ranges).
in the case where an old and new range intersect, we need to modify the new range (either chopping off part of it or splitting it) to hide the part which is "covered up" by the old range.
This object takes polygons and values and draws them into a given raster or array of data.