22 lines
707 B
Elixir
22 lines
707 B
Elixir
|
|
# This file is auto-generated by alef — DO NOT EDIT.
|
||
|
|
# alef:hash:4e15143f4af1ae8bafbdb1506ef057da924484c66a19483966333558ad437e75
|
||
|
|
# To regenerate: alef generate
|
||
|
|
# To verify freshness: alef verify --exit-code
|
||
|
|
# Issues & docs: https://github.com/kreuzberg-dev/alef
|
||
|
|
defmodule Kreuzberg.BBox do
|
||
|
|
@moduledoc "Bounding box in original image coordinates (x1, y1) top-left, (x2, y2) bottom-right."
|
||
|
|
|
||
|
|
@typedoc "Bounding box in original image coordinates (x1, y1) top-left, (x2, y2) bottom-right."
|
||
|
|
@type t :: %__MODULE__{
|
||
|
|
x1: float(),
|
||
|
|
y1: float(),
|
||
|
|
x2: float(),
|
||
|
|
y2: float()
|
||
|
|
}
|
||
|
|
|
||
|
|
defstruct x1: 0.0,
|
||
|
|
y1: 0.0,
|
||
|
|
x2: 0.0,
|
||
|
|
y2: 0.0
|
||
|
|
end
|