Accord.NET Framework

## IntPoint Methods |

The IntPoint type exposes the following members.

Methods

Name | Description | |
---|---|---|

Add(IntPoint, IntPoint) |
Addition operator - adds values of two points.
| |

Add(IntPoint, Int32) |
Addition operator - adds scalar to the specified point.
| |

CompareTo |
Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.
| |

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 ValueTypeEquals(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 ValueTypeGetHashCode.) | |

GetType | Gets the Type of the current instance. (Inherited from Object.) | |

Multiply |
Multiplication operator - multiplies coordinates of the specified point by scalar value.
| |

SquaredDistanceTo |
Calculate squared Euclidean distance between two points.
| |

Subtract(IntPoint, IntPoint) |
Subtraction operator - subtracts values of two points.
| |

Subtract(IntPoint, Int32) |
Subtraction operator - subtracts scalar from the specified point.
| |

ToString |
Get string representation of the class.
(Overrides ValueTypeToString.) |

Extension Methods

Name | Description | |
---|---|---|

HasMethod |
Checks whether an object implements a method with the given name.
(Defined by ExtensionMethods.) | |

IsEqual |
Compares two objects for equality, performing an elementwise
comparison if the elements are vectors or matrices.
(Defined by Matrix.) | |

To(Type) | Overloaded.
Converts an object into another type, irrespective of whether
the conversion can be done at compile time or not. This can be
used to convert generic types to numeric types during runtime.
(Defined by ExtensionMethods.) | |

ToT | Overloaded.
Converts an object into another type, irrespective of whether
the conversion can be done at compile time or not. This can be
used to convert generic types to numeric types during runtime.
(Defined by ExtensionMethods.) |

See Also