Struct geos::CoordSeq
[−]
[src]
pub struct CoordSeq(_);
Methods
impl CoordSeq
[src]
pub fn new(size: u32, dims: u32) -> CoordSeq
[src]
pub fn new_from_c_obj(c_obj: *mut GEOSCoordSequence) -> CoordSeq
[src]
pub fn set_x(&self, idx: u32, val: f64) -> i32
[src]
pub fn set_y(&self, idx: u32, val: f64) -> i32
[src]
pub fn set_z(&self, idx: u32, val: f64) -> i32
[src]
pub fn get_x(&self, idx: u32) -> f64
[src]
pub fn get_y(&self, idx: u32) -> f64
[src]
pub fn get_z(&self, idx: u32) -> f64
[src]
pub fn release(self) -> *mut GEOSCoordSequence
[src]
Release the underlying C ptr (so the ptr is not destroyed when the object is destroyed) The C ptr needs to be cleanup afterward! This method can be thus called only if the C ptr is given to the C API