Struct proj_sys::PROJ_CRS_LIST_PARAMETERS
source · #[repr(C)]pub struct PROJ_CRS_LIST_PARAMETERS {
pub types: *const PJ_TYPE,
pub typesCount: usize,
pub crs_area_of_use_contains_bbox: c_int,
pub bbox_valid: c_int,
pub west_lon_degree: f64,
pub south_lat_degree: f64,
pub east_lon_degree: f64,
pub north_lat_degree: f64,
pub allow_deprecated: c_int,
pub celestial_body_name: *const c_char,
}
Expand description
\brief Structure describing optional parameters for proj_get_crs_list();
This structure may grow over time, and should not be directly allocated by client code.
Fields§
§types: *const PJ_TYPE
Array of allowed object types. Should be NULL if all types are allowed
typesCount: usize
Size of types. Should be 0 if all types are allowed
crs_area_of_use_contains_bbox: c_int
If TRUE and bbox_valid == TRUE, then only CRS whose area of use entirely contains the specified bounding box will be returned. If FALSE and bbox_valid == TRUE, then only CRS whose area of use intersects the specified bounding box will be returned.
bbox_valid: c_int
To set to TRUE so that west_lon_degree, south_lat_degree, east_lon_degree and north_lat_degree fields are taken into account.
west_lon_degree: f64
Western-most longitude of the area of use, in degrees.
south_lat_degree: f64
Southern-most latitude of the area of use, in degrees.
east_lon_degree: f64
Eastern-most longitude of the area of use, in degrees.
north_lat_degree: f64
Northern-most latitude of the area of use, in degrees.
allow_deprecated: c_int
Whether deprecated objects are allowed. Default to FALSE.
celestial_body_name: *const c_char
Celestial body of the CRS (e.g. “Earth”). The default value, NULL, means no restriction @since 8.1
Trait Implementations§
source§impl Clone for PROJ_CRS_LIST_PARAMETERS
impl Clone for PROJ_CRS_LIST_PARAMETERS
source§fn clone(&self) -> PROJ_CRS_LIST_PARAMETERS
fn clone(&self) -> PROJ_CRS_LIST_PARAMETERS
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more