CvPoint Structure OpenCvSharp Class Library
2D point with integer coordinates

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

[SerializableAttribute]
public struct CvPoint : IEquatable<CvPoint>

The CvPoint type exposes the following members.

Constructors

  NameDescription
Public methodCvPoint
Constructor
Top
Methods

  NameDescription
Public methodCrossProduct(CvPoint)
Calculates the cross product of two 2D vectors.
Public methodStatic memberCrossProduct(CvPoint, CvPoint)
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(CvPoint)
Calculates the dot product of two 2D vectors.
Public methodStatic memberDotProduct(CvPoint, CvPoint)
Calculates the dot product of two 2D vectors.
Public methodEquals(Object)
Specifies whether this object contains the same members as the specified Object.
(Overrides ValueTypeEquals(Object).)
Public methodEquals(CvPoint)
Specifies whether this object contains the same members as the specified Object.
Public methodGetHashCode
Returns a hash code for this object.
(Overrides ValueTypeGetHashCode.)
Public methodGetType (Inherited from Object.)
Public methodToString
Converts this object to a human readable string.
(Overrides ValueTypeToString.)
Top
Operators

  NameDescription
Public operatorStatic memberAddition
Shifts point by a certain offset
Public operatorStatic memberEquality
Compares two CvPoint objects. The result specifies whether the values of the X and Y properties of the two CvPoint objects are equal.
Public operatorStatic memberInequality
Compares two CvPoint objects. The result specifies whether the values of the X or Y properties of the two CvPoint 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 fieldStatic memberEmpty
Represents a CvPoint structure with its properties left uninitialized.
Public fieldStatic memberSizeOf
sizeof(CvPoint)
Public fieldX
x-coordinate, usually zero-based
Public fieldY
y-coordinate, usually zero-based
Top
See Also

Reference