Class StacSpatialExtent
The class represents the spatial extents. Spatial Extent Object
Inheritance
System.Object
StacSpatialExtent
Namespace: Stac.Collection
Assembly: DotNetStac.dll
Syntax
public class StacSpatialExtent : ICloneable
Constructors
| Improve this Doc View SourceStacSpatialExtent(StacSpatialExtent)
Initializes a new instance of the StacSpatialExtent class. Initialize a new Stac Spatial extent from an existing one (clone)
Declaration
public StacSpatialExtent(StacSpatialExtent spatial)
Parameters
Type | Name | Description |
---|---|---|
StacSpatialExtent | spatial | The spatial extent. |
StacSpatialExtent(Double, Double, Double, Double)
Initializes a new instance of the StacSpatialExtent class.
Declaration
public StacSpatialExtent(double minX, double minY, double maxX, double maxY)
Parameters
Type | Name | Description |
---|---|---|
System.Double | minX | Minimum X bound |
System.Double | minY | Minimum Y bound |
System.Double | maxX | Maximum X bound |
System.Double | maxY | Maximum Y bound |
Properties
| Improve this Doc View SourceBoundingBoxes
Gets or sets potential spatial extents.
Declaration
public double[][] BoundingBoxes { get; set; }
Property Value
Type | Description |
---|---|
System.Double[][] | Gets/sets double entry array of coordinates |
Methods
| Improve this Doc View SourceClone()
Clone this Extent
Declaration
public object Clone()
Returns
Type | Description |
---|---|
System.Object | A new StacSpatialExtent that is a clone of this instance. |