Skip to main content Link Menu Expand (external link) Document Search Copy Copied

dymaptic.GeoBlazor.Core

dymaptic.GeoBlazor.Core.Components.Geometries

Extent Class

The minimum and maximum X and Y coordinates of a bounding box. Extent is used to describe the visible portion of a
MapView. When working in a SceneView, Camera is used to define the visible part of the map within the view.

ArcGIS
  
JS API

</a>

public class Extent : dymaptic.GeoBlazor.Core.Components.Geometries.Geometry,
System.IEquatable<dymaptic.GeoBlazor.Core.Components.Geometries.Extent>

Inheritance System.Object 🡒 Microsoft.AspNetCore.Components.ComponentBase 🡒 MapComponent 🡒 Geometry 🡒 Extent

Implements System.IEquatable<Extent>

Constructors

Extent() Constructor

Parameterless constructor for use as a razor component

public Extent();

Extent(double, double, double, double, Nullable, Nullable, Nullable, Nullable, SpatialReference) Constructor

Creates a new Extent in code with parameters

public Extent(double xmax, double xmin, double ymax, double ymin, System.Nullable<double> zmax=null, System.Nullable<double> zmin=null, System.Nullable<double> mmax=null, System.Nullable<double> mmin=null, dymaptic.GeoBlazor.Core.Components.Geometries.SpatialReference? spatialReference=null);

Parameters

xmax System.Double

The maximum X-coordinate of an extent envelope.

xmin System.Double

The minimum X-coordinate of an extent envelope.

ymax System.Double

The maximum Y-coordinate of an extent envelope.

ymin System.Double

The minimum Y-coordinate of an extent envelope.

zmax System.Nullable<System.Double>

The maximum possible z, or elevation, value in an extent envelope.

zmin System.Nullable<System.Double>

The minimum possible z, or elevation, value in an extent envelope.

mmax System.Nullable<System.Double>

The maximum possible m value in an extent envelope.

mmin System.Nullable<System.Double>

The minimum possible m value in an extent envelope.

spatialReference SpatialReference

The SpatialReference of the geometry.

Properties

Extent.Mmax Property

The maximum possible m value in an extent envelope.

public System.Nullable<double> Mmax { get; set; }

Property Value

System.Nullable<System.Double>

Extent.Mmin Property

The minimum possible m value in an extent envelope.

public System.Nullable<double> Mmin { get; set; }

Property Value

System.Nullable<System.Double>

Extent.Type Property

The Geometry “type”, used internally to render.

public override string Type { get; }

Property Value

System.String

Extent.Xmax Property

The maximum X-coordinate of an extent envelope.

public double Xmax { get; set; }

Property Value

System.Double

Extent.Xmin Property

The minimum X-coordinate of an extent envelope.

public double Xmin { get; set; }

Property Value

System.Double

Extent.Ymax Property

The maximum Y-coordinate of an extent envelope.

public double Ymax { get; set; }

Property Value

System.Double

Extent.Ymin Property

The minimum Y-coordinate of an extent envelope.

public double Ymin { get; set; }

Property Value

System.Double

Extent.Zmax Property

The maximum possible z, or elevation, value in an extent envelope.

public System.Nullable<double> Zmax { get; set; }

Property Value

System.Nullable<System.Double>

Extent.Zmin Property

The minimum possible z, or elevation, value in an extent envelope.

public System.Nullable<double> Zmin { get; set; }

Property Value

System.Nullable<System.Double>

Methods

Extent.Equals(object) Method

Determines whether the specified object is equal to the current object.

public override bool Equals(object? obj);

Parameters

obj System.Object

The object to compare with the current object.

Returns

System.Boolean
true if the specified object is equal to the current object; otherwise, false.

Extent.GetHashCode() Method

Serves as the default hash function.

public override int GetHashCode();

Returns

System.Int32
A hash code for the current object.

Operators

Extent.operator ==(Extent, Extent) Operator

Compares two Extent objects for equality

public static bool operator ==(dymaptic.GeoBlazor.Core.Components.Geometries.Extent? left, dymaptic.GeoBlazor.Core.Components.Geometries.Extent? right);

Parameters

left Extent

right Extent

Returns

System.Boolean

Extent.operator !=(Extent, Extent) Operator

Compares two Extent objects for inequality

public static bool operator !=(dymaptic.GeoBlazor.Core.Components.Geometries.Extent? left, dymaptic.GeoBlazor.Core.Components.Geometries.Extent? right);

Parameters

left Extent

right Extent

Returns

System.Boolean