Type Alias gaiaPolygon

Source
pub type gaiaPolygon = gaiaPolygonStruct;
Expand description

Container for OGC POLYGON Geometry

Aliased Type§

struct gaiaPolygon {
    pub Exterior: *mut gaiaRingStruct,
    pub NumInteriors: i32,
    pub Interiors: *mut gaiaRingStruct,
    pub NextInterior: i32,
    pub MinX: f64,
    pub MinY: f64,
    pub MaxX: f64,
    pub MaxY: f64,
    pub DimensionModel: i32,
    pub Next: *mut gaiaPolygonStruct,
}

Fields§

§Exterior: *mut gaiaRingStruct

the exterior ring (mandatory)

§NumInteriors: i32

number of interior rings (may be, none)

§Interiors: *mut gaiaRingStruct

array of interior rings

§NextInterior: i32

index of first unused interior ring

§MinX: f64

MBR: min X

§MinY: f64

MBR: min Y

§MaxX: f64

MBR: max X

§MaxY: f64

MBR: max Y

§DimensionModel: i32

one of GAIA_XY, GAIA_XY_Z, GAIA_XY_M, GAIA_XY_ZM

§Next: *mut gaiaPolygonStruct

pointer to next item [linked list]