dymaptic.GeoBlazor.Core
dymaptic.GeoBlazor.Core.Objects
MapPoint Class
This is another representation of Point that should be used to create MapPaths.
public class MapPoint : System.Collections.Generic.List<double>,
System.IEquatable<dymaptic.GeoBlazor.Core.Objects.MapPoint>
Inheritance System.Object 🡒 System.Collections.Generic.List<System.Double> 🡒 MapPoint
Implements System.IEquatable<MapPoint>
Constructors
MapPoint(double[]) Constructor
Create a new point from a parameter list of numbers.
public MapPoint(params double[] p);
Parameters
MapPoint(IEnumerable) Constructor
Create a new point from a collection of numbers.
public MapPoint(System.Collections.Generic.IEnumerable<double> p);
Parameters
p
System.Collections.Generic.IEnumerable<System.Double>
Methods
MapPoint.Copy() Method
Clones and returns the copy.
public dymaptic.GeoBlazor.Core.Objects.MapPoint Copy();
Returns
MapPoint.Equals(MapPoint) Method
Custom equality check.
public bool Equals(dymaptic.GeoBlazor.Core.Objects.MapPoint? other);
Parameters
other
MapPoint
Returns
MapPoint.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.
MapPoint.GetHashCode() Method
Serves as the default hash function.
public override int GetHashCode();
Returns
System.Int32
A hash code for the current object.