ArcGIS Pro 3.1 API Reference Guide
ArcGIS.Core.Geometry Namespace / Coordinate2D Structure
Properties Methods

In This Topic
Coordinate2D Structure Members
In This Topic

The following tables list the members exposed by Coordinate2D.

Public Constructors
NameDescription Overloaded.
Top
Public Properties
NameDescription Indicates if the Coordinate2D is empty. Gets or sets the length of the Coordinate2D as a vector. Gets or sets the X-component. Gets or sets the Y-component.
Top
Public Methods
NameDescription  Construct an empty Coordinate2D  Gets the 2D distance between two instances of Coordinate2D. Calculates the dot product of this Coordinate2D and another Coordinate2D. Vector dot product is used. Overloaded. Obtains a hash code of the object. Used in Equals. Constructs a Coordinate2D that is perpendicular to this vector. Constructs a Coordinate2D with Magnitude = 1 from this vector;  Constructs the midpoint of the segment connecting two instances of Coordinate2D. Moves the Coordinate2D by adding a shift value to each component. Normalizes the Coordinate2D which means it is scaled to magnitude = 1. Gets the components of the Coordinate2D. Overloaded. Scales the Coordinate2D by the given factor. Sets the components of the Coordinate2D. Sets the Coordinate2D to empty. Convert the Coordinate2D into a MapPoint.
Top
Public Operators Addition Constructs a new Coordinate2D by adding two Coordinate2D objects. Vector addition is used. Division Constructs a new Coordinate2D by performing scalar division on a Coordinate2D. Equality Determines whether the components of the two Coordinate2D objects are equal. Explicit Type Conversion Allow explicit casting of a MapPoint to a Coordinate2D. Inequality Determines whether the components of the two Coordinate2D objects are not equal. Multiplication Overloaded. Subtraction Constructs a new Coordinate2D by subtracting two Coordinate2D objects. Vector subtraction is used.
Top