dymaptic.GeoBlazor.Core

dymaptic.GeoBlazor.Core.Components.Geometries

Extent Class

The minimum and maximum X and Y coordinates of a bounding box.
ArcGIS Maps SDK for JavaScript

public class Extent : dymaptic.GeoBlazor.Core.Components.Geometries.Geometry

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

Constructors

Extent() Constructor

Parameterless constructor for use as a razor component

public Extent();

Extent(double, double, double, double, Nullable, Nullable, Nullable, Nullable, SpatialReference, Nullable, Nullable) 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.SpatialReference? spatialReference=null, System.Nullable<bool> hasM=null, System.Nullable<bool> hasZ=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.

hasM System.Nullable<System.Boolean>

Indicates if the geometry has M values.
ArcGIS Maps SDK for JavaScript

hasZ System.Nullable<System.Boolean>

Indicates if the geometry has z-values (elevation).
ArcGIS Maps SDK for JavaScript

Properties

Extent.Center Property

The center point of the extent in map units.
ArcGIS Maps SDK for JavaScript

public dymaptic.GeoBlazor.Core.Components.Geometries.Point? Center { get; set; }

Property Value

Point

Extent.Height Property

The height of the extent in map units (the distance between ymin and ymax).
ArcGIS Maps SDK for JavaScript

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

Property Value

System.Nullable<System.Double>

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 dymaptic.GeoBlazor.Core.Enums.GeometryType Type { get; }

Property Value

GeometryType

Extent.Width Property

The width of the extent in map units (the distance between xmin and xmax).
ArcGIS Maps SDK for JavaScript

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

Property Value

System.Nullable<System.Double>

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.CenterAt(Point) Method

Centers the extent to the specified Point.
ArcGIS Maps SDK for JavaScript

public System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Components.Geometries.Extent?> CenterAt(dymaptic.GeoBlazor.Core.Components.Geometries.Point point);

Parameters

point Point

The point to center the extent.

Returns

System.Threading.Tasks.Task<Extent>

Extent.Clone() Method

Returns a deep clone of the geometry.

public dymaptic.GeoBlazor.Core.Components.Geometries.Extent Clone();

Returns

Extent

Extent.Contains(Geometry) Method

Checks if the input geometry is contained within the extent.
ArcGIS Maps SDK for JavaScript

public System.Threading.Tasks.Task<System.Nullable<bool>> Contains(dymaptic.GeoBlazor.Core.Components.Geometries.Geometry geometry);

Parameters

geometry Geometry

Input geometry to test if it is contained within the extent.

Returns

System.Threading.Tasks.Task<System.Nullable<System.Boolean>>

Extent.Expand(double) Method

Expands the extent by the given factor.
ArcGIS Maps SDK for JavaScript

public System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Components.Geometries.Extent?> Expand(double factor);

Parameters

factor System.Double

The multiplier value.

Returns

System.Threading.Tasks.Task<Extent>

Extent.GetCenter() Method

Asynchronously retrieve the current value of the Center property.

public System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Components.Geometries.Point?> GetCenter();

Returns

System.Threading.Tasks.Task<Point>

Extent.GetHeight() Method

Asynchronously retrieve the current value of the Height property.

public System.Threading.Tasks.Task<System.Nullable<double>> GetHeight();

Returns

System.Threading.Tasks.Task<System.Nullable<System.Double>>

Extent.GetMmax() Method

Asynchronously retrieve the current value of the Mmax property.

public System.Threading.Tasks.Task<System.Nullable<double>> GetMmax();

Returns

System.Threading.Tasks.Task<System.Nullable<System.Double>>

Extent.GetMmin() Method

Asynchronously retrieve the current value of the Mmin property.

public System.Threading.Tasks.Task<System.Nullable<double>> GetMmin();

Returns

System.Threading.Tasks.Task<System.Nullable<System.Double>>

Extent.GetWidth() Method

Asynchronously retrieve the current value of the Width property.

public System.Threading.Tasks.Task<System.Nullable<double>> GetWidth();

Returns

System.Threading.Tasks.Task<System.Nullable<System.Double>>

Extent.GetZmax() Method

Asynchronously retrieve the current value of the Zmax property.

public System.Threading.Tasks.Task<System.Nullable<double>> GetZmax();

Returns

System.Threading.Tasks.Task<System.Nullable<System.Double>>

Extent.GetZmin() Method

Asynchronously retrieve the current value of the Zmin property.

public System.Threading.Tasks.Task<System.Nullable<double>> GetZmin();

Returns

System.Threading.Tasks.Task<System.Nullable<System.Double>>

Extent.Intersection(Extent) Method

Shrinks the original extent to the intersection with the input extent.
ArcGIS Maps SDK for JavaScript

public System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Components.Geometries.Extent?> Intersection(dymaptic.GeoBlazor.Core.Components.Geometries.Extent extent);

Parameters

extent Extent

The input extent to intersect.

Returns

System.Threading.Tasks.Task<Extent>

Extent.Intersects(Geometry) Method

Tests to validate if the input geometry intersects the extent and returns a Boolean value.
ArcGIS Maps SDK for JavaScript

public System.Threading.Tasks.Task<System.Nullable<bool>> Intersects(dymaptic.GeoBlazor.Core.Components.Geometries.Geometry geometry);

Parameters

geometry Geometry

The geometry used to test the intersection. It can be a Point, Polyline, Polygon, Extent or Multipoint.

Returns

System.Threading.Tasks.Task<System.Nullable<System.Boolean>>

Extent.Normalize() Method

Returns an array with either one Extent that’s been shifted to within +/- 180 or two Extents
if the original extent intersects the International Dateline.
ArcGIS Maps SDK for JavaScript

public System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Components.Geometries.Extent[]?> Normalize();

Returns

System.Threading.Tasks.Task<Extent[]>

Extent.Offset(double, double, double) Method

Modifies the extent geometry in-place with X and Y offsets in map units.
param dy The offset distance in map units for the Y-coordinate.
ArcGIS Maps SDK for JavaScript

public System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Components.Geometries.Extent?> Offset(double dx, double dy, double dz);

Parameters

dx System.Double

The offset distance in map units for the X-coordinate.

dy System.Double

The offset distance in map units for the Y-coordinate.

dz System.Double

The offset distance in map units for the Z-coordinate.

Returns

System.Threading.Tasks.Task<Extent>

Extent.SetMmax(Nullable) Method

Asynchronously set the value of the Mmax property after render.

public System.Threading.Tasks.Task SetMmax(System.Nullable<double> value);

Parameters

value System.Nullable<System.Double>

The value to set.

Returns

System.Threading.Tasks.Task

Extent.SetMmin(Nullable) Method

Asynchronously set the value of the Mmin property after render.

public System.Threading.Tasks.Task SetMmin(System.Nullable<double> value);

Parameters

value System.Nullable<System.Double>

The value to set.

Returns

System.Threading.Tasks.Task

Extent.SetZmax(Nullable) Method

Asynchronously set the value of the Zmax property after render.

public System.Threading.Tasks.Task SetZmax(System.Nullable<double> value);

Parameters

value System.Nullable<System.Double>

The value to set.

Returns

System.Threading.Tasks.Task

Extent.SetZmin(Nullable) Method

Asynchronously set the value of the Zmin property after render.

public System.Threading.Tasks.Task SetZmin(System.Nullable<double> value);

Parameters

value System.Nullable<System.Double>

The value to set.

Returns

System.Threading.Tasks.Task

Extent.Union(Extent) Method

Expands the original extent to include the extent of the input Extent.
ArcGIS Maps SDK for JavaScript

public System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Components.Geometries.Extent?> Union(dymaptic.GeoBlazor.Core.Components.Geometries.Extent extent);

Parameters

extent Extent

The input extent to union.

Returns

System.Threading.Tasks.Task<Extent>