class OGR::MultiPoint

Public Class Methods

new(geometry_ptr = nil, spatial_reference: nil) click to toggle source

@param [FFI::Pointer] geometry_ptr

# File lib/ogr/geometries/multi_point.rb, line 11
def initialize(geometry_ptr = nil, spatial_reference: nil)
  geometry_ptr ||= OGR::Geometry.create(:wkbMultiPoint)
  initialize_from_pointer(geometry_ptr)
  self.spatial_reference = spatial_reference if spatial_reference
end