Class Point
Represents a zero-dimensional object that represents a specific (X,Y) location in a two-dimensional XY-Plane. In case of Geographic Coordinate Systems, the X coordinate is the longitude and the Y is the latitude.
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Dse.Geometry
Assembly: Dse.dll
Syntax
public class Point : GeometryBase
Constructors
Point(Double, Double)
Creates a new instance of Point.
Declaration
public Point(double x, double y)
Parameters
Type | Name | Description |
---|---|---|
System.Double | x | The |
System.Double | y | The |
Properties
GeoCoordinates
Declaration
protected override IEnumerable GeoCoordinates { get; }
Property Value
Type | Description |
---|---|
System.Collections.IEnumerable |
Overrides
X
Returns the X coordinate of this 2D point.
Declaration
public double X { get; }
Property Value
Type | Description |
---|---|
System.Double |
Y
Returns the Y coordinate of this 2D point.
Declaration
public double Y { get; }
Property Value
Type | Description |
---|---|
System.Double |
Methods
Equals(Object)
Returns a value indicating whether this instance and a specified object represent the same value.
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
System.Object | obj |
Returns
Type | Description |
---|---|
System.Boolean |
Overrides
System.Object.Equals(System.Object)
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 |
Overrides
System.Object.GetHashCode()
Parse(String)
Creates a Point instance from a Well-known Text(WKT) representation of a 2D point.
Declaration
public static Point Parse(string textValue)
Parameters
Type | Name | Description |
---|---|---|
System.String | textValue |
Returns
Type | Description |
---|---|
Point |
ToString()
Returns Well-known text (WKT) representation of the geometry object.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |
Overrides
System.Object.ToString()