View Source Postgrex.Line (Postgrex v0.16.5)

Struct for PostgreSQL line.

Note, lines are stored in PostgreSQL in the form {a, b, c}, which parameterizes a line as a*x + b*y + c = 0.

fields

Fields

  • a
  • b
  • c

Link to this section Summary

Link to this section Types

@type t() :: %Postgrex.Line{a: float(), b: float(), c: float()}