R: Class "SpatExtent"

SpatExtent-class {terra} | R Documentation

## Class "SpatExtent"

### Description

Objects of class SpatExtent are used to define the spatial extent (extremes) of objects of the SpatRaster class.

### Objects from the Class

You can use the `ext` function to create SpatExtent objects, or to extract them from SpatRaster objects.

### Slots

`ptr`:

  pointer to the C++ class

### Methods

show

  display values of a SpatExtent object

### Examples

    e <- ext(-180, 180, -90, 90)
    e

[Package terra version 1.2-10 Index]