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

dymaptic.GeoBlazor.Core

dymaptic.GeoBlazor.Core.Components.Geometries

Point Class

A location defined by X, Y, and Z coordinates.

ArcGIS
  
JS API

</a>

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

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

Implements System.IEquatable<Point>

Constructors

Point() Constructor

Parameterless constructor for use as a razor component

public Point();

Point(Nullable, Nullable, Nullable, Nullable, Nullable, SpatialReference, Extent) Constructor

Creates a new Point programmatically with parameters

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.Geometries.SpatialReference? spatialReference=null, dymaptic.GeoBlazor.Core.Components.Geometries.Extent? extent=null);

Parameters

longitude System.Nullable<System.Double>

The longitude of the point.

latitude System.Nullable<System.Double>

The latitude of the point.

x System.Nullable<System.Double>

The x-coordinate (easting) of the point in map units.

y System.Nullable<System.Double>

The y-coordinate (northing) of the point in map units.

z System.Nullable<System.Double>

The z-coordinate (or elevation) of the point in map units.

spatialReference SpatialReference

The SpatialReference of the geometry.

extent Extent

The Extent of the geometry.

Properties

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 string Type { get; }

Property Value

System.String

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

Implements custom equality checks

public bool Equals(dymaptic.GeoBlazor.Core.Components.Geometries.Point? other);

Parameters

other Point

Returns

System.Boolean

Point.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.

Point.GetHashCode() Method

Serves as the default hash function.

public override int GetHashCode();

Returns

System.Int32
A hash code for the current object.