The IntPoint type exposes the following members.

Constructors

  NameDescription
IntPoint
Initializes a new instance of the IntPoint structure.

Methods

  NameDescription
AddOverloaded.
DistanceTo
Calculate Euclidean distance between two points.
Divide
Division operator - divides coordinates of the specified point by scalar value.
Equals
Check if this instance of IntPoint equal to the specified one.
(Overrides ValueType..::.Equals(Object).)
EuclideanNorm
Calculate Euclidean norm of the vector comprised of the point's coordinates - distance from (0, 0) in other words.
GetHashCode
Get hash code for this instance.
(Overrides ValueType..::.GetHashCode()()().)
Multiply
Multiplication operator - multiplies coordinates of the specified point by scalar value.
SquaredDistanceTo
Calculate squared Euclidean distance between two points.
SubtractOverloaded.
ToString
Get string representation of the class.
(Overrides ValueType..::.ToString()()().)

Operators

  NameDescription
AdditionOverloaded.
Division
Division operator - divides coordinates of the specified point by scalar value.
Equality
Equality operator - checks if two points have equal coordinates.
ImplicitOverloaded.
Inequality
Inequality operator - checks if two points have different coordinates.
Multiply
Multiplication operator - multiplies coordinates of the specified point by scalar value.
SubtractionOverloaded.

Fields

  NameDescription
X
X coordinate.
Y
Y coordinate.

See Also