Click or drag to resize
Accord.NET (logo)

Point Methods

The Point type exposes the following members.

Methods
  NameDescription
Public methodStatic memberAdd(Point, Point)
Addition operator - adds values of two points.
Public methodStatic memberAdd(Point, Single)
Addition operator - adds scalar to the specified point.
Public methodDistanceTo
Calculate Euclidean distance between two points.
Public methodStatic memberDivide
Division operator - divides coordinates of the specified point by scalar value.
Public methodEquals
Check if this instance of Point equal to the specified one.
(Overrides ValueTypeEquals(Object).)
Public methodEuclideanNorm
Calculate Euclidean norm of the vector comprised of the point's coordinates - distance from (0, 0) in other words.
Public methodGetHashCode
Get hash code for this instance.
(Overrides ValueTypeGetHashCode.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodStatic memberMultiply
Multiplication operator - multiplies coordinates of the specified point by scalar value.
Public methodRound
Rounds the single precision point.
Public methodSquaredDistanceTo
Calculate squared Euclidean distance between two points.
Public methodStatic memberSubtract(Point, Point)
Subtraction operator - subtracts values of two points.
Public methodStatic memberSubtract(Point, Single)
Subtraction operator - subtracts scalar from the specified point.
Public methodToString
Get string representation of the class.
(Overrides ValueTypeToString.)
Top
Extension Methods
  NameDescription
Public Extension MethodHasMethod
Checks whether an object implements a method with the given name.
(Defined by ExtensionMethods.)
Public Extension MethodIsEqual
Compares two objects for equality, performing an elementwise comparison if the elements are vectors or matrices.
(Defined by Matrix.)
Public Extension MethodTo(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.)
Public Extension MethodToTOverloaded.
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.)
Top
See Also