pub struct GrpContoursInf {
pub scale: f64,
pub offset: Pt2d,
pub mm: Vec<Pt2d>,
pub grp_contours: Vec<i32>,
pub grp_scaled_contours: MapContours,
pub sci: ShpContoursInf,
}Expand description
GrpContoursInf
Fields§
§scale: f64scale
offset: Pt2doffset
mm: Vec<Pt2d>mm
grp_contours: Vec<i32>grp_contours
grp_scaled_contours: MapContoursgrp_scaled_contours
sci: ShpContoursInfsci
Implementations§
Source§impl GrpContoursInf
GrpContoursInf
impl GrpContoursInf
GrpContoursInf
Sourcepub fn new(sci: ShpContoursInf) -> Result<GrpContoursInf, Box<dyn Error>>
pub fn new(sci: ShpContoursInf) -> Result<GrpContoursInf, Box<dyn Error>>
constructor
Sourcepub fn get_grp_contours(
&mut self,
scale: f64,
w_pref: i32,
w_city: i32,
ignore: bool,
) -> Result<(), Box<dyn Error>>
pub fn get_grp_contours( &mut self, scale: f64, w_pref: i32, w_city: i32, ignore: bool, ) -> Result<(), Box<dyn Error>>
get_grp_contours
Trait Implementations§
Auto Trait Implementations§
impl Freeze for GrpContoursInf
impl RefUnwindSafe for GrpContoursInf
impl Send for GrpContoursInf
impl Sync for GrpContoursInf
impl Unpin for GrpContoursInf
impl UnsafeUnpin for GrpContoursInf
impl UnwindSafe for GrpContoursInf
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more