Class: Torque::PostgreSQL::Box
- Inherits:
-
Object
- Object
- Torque::PostgreSQL::Box
- Defined in:
- lib/torque/postgresql/adapter/oid/box.rb
Instance Method Summary collapse
Instance Method Details
#points ⇒ Object
6 7 8 9 10 11 12 13 14 |
# File 'lib/torque/postgresql/adapter/oid/box.rb', line 6 def points klass = Torque::PostgreSQL.config.geometry.point_class [ klass.new(x1, y1), klass.new(x1, y2), klass.new(x2, y1), klass.new(x2, y2), ] end |