ArcGIS Pro 3.2 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
    Public ConstructorOverloaded.   
    Top
    Public Properties
     NameDescription
    Public Property Gets the direction.  
    Public Property Indicates if the Coordinate2D is empty.  
    Public Property Gets or sets the length of the Coordinate2D as a vector.  
    Public Property Gets or sets the X-component.  
    Public Property Gets or sets the Y-component.  
    Top
    Public Methods
     NameDescription
    Public Methodstatic (Shared in Visual Basic) Constructs a new empty Coordinate2D.  
    Public Methodstatic (Shared in Visual Basic) Gets the 2D distance between two instances of Coordinate2D.  
    Public Method Calculates the dot product of this Coordinate2D and another Coordinate2D. Vector dot product is used.  
    Public MethodOverloaded.   
    Public Method Obtains a hash code of the object. Used in Equals.  
    Public Method Constructs a Coordinate2D that is perpendicular to this vector.  
    Public Method Constructs a Coordinate2D with Magnitude = 1 from this vector;  
    Public Methodstatic (Shared in Visual Basic) Constructs the midpoint of the segment connecting two instances of Coordinate2D.  
    Public Method Moves the Coordinate2D by adding a shift value to each component.  
    Public Method Normalizes the Coordinate2D which means it is scaled to magnitude = 1.  
    Public Method Gets the components of the Coordinate2D.  
    Public MethodOverloaded.   
    Public Method Scales the Coordinate2D by the given factor.  
    Public Method Sets the components of the Coordinate2D.  
    Public Method Sets the Coordinate2D to empty.  
    Public Method Convert the Coordinate2D into a MapPoint.  
    Top
    Public Operators
    Constructs a new Coordinate2D by adding two Coordinate2D objects. Vector addition is used.
    Constructs a new Coordinate2D by performing scalar division on a Coordinate2D.
    Determines whether the components of the two Coordinate2D objects are equal.
    Allow explicit casting of a MapPoint to a Coordinate2D.
    Determines whether the components of the two Coordinate2D objects are not equal.
    Overloaded.  
    Constructs a new Coordinate2D by subtracting two Coordinate2D objects. Vector subtraction is used.
    Top
    See Also