dymaptic.GeoBlazor.Core
dymaptic.GeoBlazor.Core.Components.Geometries
Point Class
A location defined by X, Y, and Z coordinates. ArcGIS Maps SDK for JavaScript
public class Point : dymaptic.GeoBlazor.Core.Components.Geometries.Geometry
Inheritance System.Object 🡒 Microsoft.AspNetCore.Components.ComponentBase 🡒 MapComponent 🡒 Geometry 🡒 Point
Constructors
Point() Constructor
Parameterless constructor for use as a Razor Component.
public Point();
Point(Nullable, Nullable, Nullable, Nullable, Nullable, SpatialReference, Nullable, Nullable, Nullable) Constructor
Constructor for use in C# code. Use named parameters (e.g., item1: value1, item2: value2) to set properties in any order.
public Point(System.Nullable<double> longitude=null, System.Nullable<double> latitude=null, System.Nullable<double> x=null, System.Nullable<double> y=null, System.Nullable<double> z=null, dymaptic.GeoBlazor.Core.Components.SpatialReference? spatialReference=null, System.Nullable<bool> hasM=null, System.Nullable<bool> hasZ=null, System.Nullable<double> m=null);
Parameters
longitude
System.Nullable<System.Double>
The longitude of the point. ArcGIS Maps SDK for JavaScript
latitude
System.Nullable<System.Double>
The latitude of the point. ArcGIS Maps SDK for JavaScript
x
System.Nullable<System.Double>
The x-coordinate (easting) of the point in map units. default 0 ArcGIS Maps SDK for JavaScript
y
System.Nullable<System.Double>
The y-coordinate (northing) of the point in map units. default 0 ArcGIS Maps SDK for JavaScript
z
System.Nullable<System.Double>
The z-coordinate (or elevation) of the point in map units. default undefined ArcGIS Maps SDK for JavaScript
spatialReference
SpatialReference
The spatial reference of the geometry. default SpatialReference.WGS84 // wkid: 4326 ArcGIS Maps SDK for JavaScript
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
m
System.Nullable<System.Double>
The m-coordinate of the point in map units. default undefined ArcGIS Maps SDK for JavaScript
Properties
Point.IsSimple Property
Is Simple based on the ArcGIS simplify operator. Indicates if the given geometry is non-OGC topologically simple. This operation takes into account z-values. ArcGIS Maps SDK for JavaScript Point geometries are always simple.
public override System.Nullable<bool> IsSimple { get; }
Property Value
System.Nullable<System.Boolean>
Point.Latitude Property
The latitude of the point.
public System.Nullable<double> Latitude { get; set; }
Property Value
System.Nullable<System.Double>
Point.Longitude Property
The longitude of the point.
public System.Nullable<double> Longitude { get; set; }
Property Value
System.Nullable<System.Double>
Point.M Property
The m-coordinate of the point in map units.
public System.Nullable<double> M { get; set; }
Property Value
System.Nullable<System.Double>
Point.Type Property
The Geometry “type”, used internally to render.
public override dymaptic.GeoBlazor.Core.Enums.GeometryType Type { get; }
Property Value
Point.X Property
The x-coordinate (easting) of the point in map units.
public System.Nullable<double> X { get; set; }
Property Value
System.Nullable<System.Double>
Point.Y Property
The y-coordinate (northing) of the point in map units.
public System.Nullable<double> Y { get; set; }
Property Value
System.Nullable<System.Double>
Point.Z Property
The z-coordinate (or elevation) of the point in map units.
public System.Nullable<double> Z { get; set; }
Property Value
System.Nullable<System.Double>
Methods
Point.Clone() Method
Returns a deep clone of the geometry.
public dymaptic.GeoBlazor.Core.Components.Geometries.Point Clone();
Returns
Point.Copy(Point) Method
Copies all values from another Point instance. ArcGIS Maps SDK for JavaScript
public System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Components.Geometries.Point?> Copy(dymaptic.GeoBlazor.Core.Components.Geometries.Point other);
Parameters
other
Point
The point to copy from.
Returns
System.Threading.Tasks.Task<Point>
Point.Distance(Point) Method
Computes the Euclidean distance between this Point and a given Point. ArcGIS Maps SDK for JavaScript
public System.Threading.Tasks.Task<System.Nullable<double>> Distance(dymaptic.GeoBlazor.Core.Components.Geometries.Point other);
Parameters
other
Point
The point to compute the distance to.
Returns
System.Threading.Tasks.Task<System.Nullable<System.Double>>
Point.GetLatitude() Method
Asynchronously retrieve the current value of the Latitude property.
public System.Threading.Tasks.Task<System.Nullable<double>> GetLatitude();
Returns
System.Threading.Tasks.Task<System.Nullable<System.Double>>
Point.GetLongitude() Method
Asynchronously retrieve the current value of the Longitude property.
public System.Threading.Tasks.Task<System.Nullable<double>> GetLongitude();
Returns
System.Threading.Tasks.Task<System.Nullable<System.Double>>
Point.GetM() Method
Asynchronously retrieve the current value of the M property.
public System.Threading.Tasks.Task<System.Nullable<double>> GetM();
Returns
System.Threading.Tasks.Task<System.Nullable<System.Double>>
Point.GetX() Method
Asynchronously retrieve the current value of the X property.
public System.Threading.Tasks.Task<System.Nullable<double>> GetX();
Returns
System.Threading.Tasks.Task<System.Nullable<System.Double>>
Point.GetY() Method
Asynchronously retrieve the current value of the Y property.
public System.Threading.Tasks.Task<System.Nullable<double>> GetY();
Returns
System.Threading.Tasks.Task<System.Nullable<System.Double>>
Point.GetZ() Method
Asynchronously retrieve the current value of the Z property.
public System.Threading.Tasks.Task<System.Nullable<double>> GetZ();
Returns
System.Threading.Tasks.Task<System.Nullable<System.Double>>
Point.Normalize() Method
Modifies the point geometry in-place by shifting the X-coordinate to within +/- 180 span in map units. ArcGIS Maps SDK for JavaScript
public System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Components.Geometries.Point?> Normalize();
Returns
System.Threading.Tasks.Task<Point>
Point.SetLatitude(Nullable) Method
Asynchronously set the value of the Latitude property after render.
public System.Threading.Tasks.Task SetLatitude(System.Nullable<double> value);
Parameters
value
System.Nullable<System.Double>
The value to set.
Returns
Point.SetLongitude(Nullable) Method
Asynchronously set the value of the Longitude property after render.
public System.Threading.Tasks.Task SetLongitude(System.Nullable<double> value);
Parameters
value
System.Nullable<System.Double>
The value to set.
Returns
Point.SetM(Nullable) Method
Asynchronously set the value of the M property after render.
public System.Threading.Tasks.Task SetM(System.Nullable<double> value);
Parameters
value
System.Nullable<System.Double>
The value to set.
Returns
Point.SetX(Nullable) Method
Asynchronously set the value of the X property after render.
public System.Threading.Tasks.Task SetX(System.Nullable<double> value);
Parameters
value
System.Nullable<System.Double>
The value to set.
Returns
Point.SetY(Nullable) Method
Asynchronously set the value of the Y property after render.
public System.Threading.Tasks.Task SetY(System.Nullable<double> value);
Parameters
value
System.Nullable<System.Double>
The value to set.
Returns
Point.SetZ(Nullable) Method
Asynchronously set the value of the Z property after render.
public System.Threading.Tasks.Task SetZ(System.Nullable<double> value);
Parameters
value
System.Nullable<System.Double>
The value to set.