|
Line original implementation. Provides an easy interface to manipulate, save and restore, line-like values from the database. Works very similar to the `ActiveRecord::Point`, but for the values that compose a line (`a`, `b`, and `c`). [PostgreSQL Docs](https://www.postgresql.org/docs/9.6/datatype-geometric.html#DATATYPE-LINE)
|
|
Line original implementation. Provides an easy interface to manipulate, save and restore, line-like values from the database. Works very similar to the `ActiveRecord::Point`, but for the values that compose a line (`a`, `b`, and `c`). [PostgreSQL Docs](https://www.postgresql.org/docs/9.6/datatype-geometric.html#DATATYPE-LINE)
|
|
The biggest difference between this and a [`segment`](https://github.com/crashtech/torque-postgresql/wiki/Segment) is that its composition is based on the [`A, B, C` form](https://en.wikipedia.org/wiki/Line_(geometry)#In_Euclidean_geometry) `0 = Ax + By + C`.
|
|
The biggest difference between this and a [`segment`](https://github.com/crashtech/torque-postgresql/wiki/Segment) is that its composition is based on the [`A, B, C` form](https://en.wikipedia.org/wiki/Line_(geometry)#In_Euclidean_geometry) (`0 = Ax + By + C`).
|