2D point with integer coordinates
Namespace: OpenCvSharp
Assembly: OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
The CvPoint type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| CvPoint |
Constructor
|
Methods
| Name | Description | |
|---|---|---|
| CrossProduct(CvPoint) |
Calculates the cross product of two 2D vectors.
| |
| CrossProduct(CvPoint, CvPoint) |
Calculates the cross product of two 2D vectors.
| |
| Distance |
Returns the distance between the specified two points
| |
| DistanceTo |
Returns the distance between the specified two points
| |
| DotProduct(CvPoint) |
Calculates the dot product of two 2D vectors.
| |
| DotProduct(CvPoint, CvPoint) |
Calculates the dot product of two 2D vectors.
| |
| Equals(Object) |
Specifies whether this object contains the same members as the specified Object.
(Overrides ValueTypeEquals(Object).) | |
| Equals(CvPoint) |
Specifies whether this object contains the same members as the specified Object.
| |
| GetHashCode |
Returns a hash code for this object.
(Overrides ValueTypeGetHashCode.) | |
| GetType | (Inherited from Object.) | |
| ToString |
Converts this object to a human readable string.
(Overrides ValueTypeToString.) |
Operators
| Name | Description | |
|---|---|---|
| Addition |
Shifts point by a certain offset
| |
| Equality |
Compares two CvPoint objects. The result specifies whether the values of the X and Y properties of the two CvPoint objects are equal.
| |
| Inequality |
Compares two CvPoint objects. The result specifies whether the values of the X or Y properties of the two CvPoint objects are unequal.
| |
| Multiply |
Shifts point by a certain offset
| |
| Subtraction |
Shifts point by a certain offset
| |
| UnaryNegation |
Unary minus operator
| |
| UnaryPlus |
Unary plus operator
|
Fields
| Name | Description | |
|---|---|---|
| Empty |
Represents a CvPoint structure with its properties left uninitialized.
| |
| SizeOf |
sizeof(CvPoint)
| |
| X |
x-coordinate, usually zero-based
| |
| Y |
y-coordinate, usually zero-based
|
See Also