spat v0.3.0 Spat.Bounds
Link to this section Summary
Functions
Create a new bounds struct, with min range defaulting to 0
Create a new bounds struct from min to max
Get the bounds contained in a subdivision of another bounds
Link to this section Types
Link to this type
t()
t() :: %Spat.Bounds{ dimension: non_neg_integer(), max: Spat.Coord.t(), min: Spat.Coord.t() }
Link to this section Functions
Create a new bounds struct, with min range defaulting to 0.
Create a new bounds struct from min to max.
Link to this function
subdivide(map, region)
subdivide(Spat.Bounds.t(), non_neg_integer()) :: Spat.Bounds.t()
Get the bounds contained in a subdivision of another bounds.