spat v0.1.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.

Link to this function new(min, max)
new(Spat.Coord.t(), Spat.Coord.t()) :: t()

Create a new bounds struct from min to max.

Link to this function subdivide(map, region)

Get the bounds contained in a subdivision of another bounds.