Click or drag to resize

Point Structure

[Missing <summary> documentation for "T:OpenCvSharp.Point"]

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax
[SerializableAttribute]
public struct Point : IEquatable<Point>

The Point type exposes the following members.

Constructors
  NameDescription
Public methodPoint(Double, Double)
Initializes a new instance of the Point class
Public methodPoint(Int32, Int32)
Initializes a new instance of the Point class
Top
Methods
  NameDescription
Public methodCrossProduct(Point)
Calculates the cross product of two 2D vectors.
Public methodStatic memberCrossProduct(Point, Point)
Calculates the cross product of two 2D vectors.
Public methodStatic memberDistance
Returns the distance between the specified two points
Public methodDistanceTo
Returns the distance between the specified two points
Public methodDotProduct(Point)
Calculates the dot product of two 2D vectors.
Public methodStatic memberDotProduct(Point, Point)
Calculates the dot product of two 2D vectors.
Public methodEquals(Object)
Indicates whether this instance and a specified object are equal.
(Overrides ValueTypeEquals(Object).)
Public methodEquals(Point)
Indicates whether the current object is equal to another object of the same type.
Public methodGetHashCode
Returns the hash code for this instance.
(Overrides ValueTypeGetHashCode.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns the fully qualified type name of this instance.
(Overrides ValueTypeToString.)
Top
Operators
  NameDescription
Public operatorStatic memberAddition
Shifts point by a certain offset
Public operatorStatic memberEquality
Compares two Point objects. The result specifies whether the values of the X and Y properties of the two Point objects are equal.
Public operatorStatic member(Point to Vec2i)
Public operatorStatic member(Vec2i to Point)
Public operatorStatic memberInequality
Compares two Point objects. The result specifies whether the values of the X or Y properties of the two Point objects are unequal.
Public operatorStatic memberMultiply
Shifts point by a certain offset
Public operatorStatic memberSubtraction
Shifts point by a certain offset
Public operatorStatic memberUnaryNegation
Unary minus operator
Public operatorStatic memberUnaryPlus
Unary plus operator
Top
Fields
  NameDescription
Public fieldX
Public fieldY
Top
See Also