The Point2D type exposes the following members.

Constructors

  NameDescription
Point2DOverloaded.

Methods

  NameDescription
AddOverloaded.
Clear
Set coordinates to 0
DistanceOverloaded.
Equals
Override Equals method of the base classs
(Overrides ValueType..::.Equals(Object).)
Finalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
GetHashCode
Override GetHashCode method of the base class
(Overrides ValueType..::.GetHashCode()()().)
GetType
Gets the Type of the current instance.
(Inherited from Object.)
IsEmpty
Check if this point is empty (coordinates values = 0)
MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Rotate
Rotate this point
SubOverloaded.
ToPoint3D
Convert object as a Point3D (Z value = 0)
ToPointF
Convert object as a PointF
ToString
Convert object as string "X=.../Y=..."
(Overrides ValueType..::.ToString()()().)

Operators

  NameDescription
Addition
surcharge + operator
Division
surcharge / operator
Equality
surcharge == operator
Implicit
Cast Point2D into Point3D
Inequality
surcharge != operator
Multiply
surcharge * operator
Subtraction
surcharge - operator

Fields

  NameDescription
Empty
Emtpy struct constructor helper

Properties

  NameDescription
X
X coordinate property
Y
Y coordinate property

See Also