Skip to main content

projection_data

Function projection_data 

Source
pub fn projection_data(
    tile_id: &UnwrappedTileID,
    frame: &LayerFrame<'_>,
    translation: [f32; 2],
    anchor: TranslateAnchorType,
    near_clipped: bool,
    in_viewport_pixel_units: bool,
    origin: Option<Point<f64>>,
    aligned: bool,
) -> ProjectionData
Expand description

The projection data for this tile, of geometry at origin in it: the tile matrix plus the per-tile projection fields.