class OGR::Point25D

Public Class Methods

create(coords) click to toggle source
# File lib/ffi-ogr/point_25d.rb, line 3
def self.create(coords)
  point = OGR::Tools.cast_geometry(FFIOGR.OGR_G_CreateGeometry(:point_25d))
  point.add_point(coords)
  point
end