layout: default title: MapPoint parent: Core Classes —
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