Struct MCvPoint2D64f
Managed Structure equivalent to CvPoint2D64f
public struct MCvPoint2D64f : IEquatable<MCvPoint2D64f>, IInterpolatable<MCvPoint2D64f>
- Implements
- Inherited Members
Constructors
MCvPoint2D64f(double, double)
Create a MCvPoint2D64f structure with the specific x and y coordinates
public MCvPoint2D64f(double x, double y)
Parameters
Fields
X
x-coordinate
public double X
Field Value
Y
y-coordinate
public double Y
Field Value
Methods
Equals(MCvPoint2D64f)
Returns true if the two points equals.
public bool Equals(MCvPoint2D64f other)
Parameters
other
MCvPoint2D64fThe other point to compare with
Returns
- bool
True if the two points equals
Operators
operator +(MCvPoint2D64f, MCvPoint2D64f)
Compute the sum of two 3D points
public static MCvPoint2D64f operator +(MCvPoint2D64f p1, MCvPoint2D64f p2)
Parameters
p1
MCvPoint2D64fThe first point to be added
p2
MCvPoint2D64fThe second point to be added
Returns
- MCvPoint2D64f
The sum of two points
operator *(MCvPoint2D64f, double)
Multiply the point with a scale
public static MCvPoint2D64f operator *(MCvPoint2D64f p, double scale)
Parameters
p
MCvPoint2D64fThe point to be multiplied
scale
doubleThe scale
Returns
- MCvPoint2D64f
The point multiplied by the scale
operator *(double, MCvPoint2D64f)
Multiply the point with a scale
public static MCvPoint2D64f operator *(double scale, MCvPoint2D64f p)
Parameters
scale
doubleThe scale
p
MCvPoint2D64fThe point to be multiplied
Returns
- MCvPoint2D64f
The point multiplied by the scale
operator -(MCvPoint2D64f, MCvPoint2D64f)
Subtract p2
from p1
public static MCvPoint2D64f operator -(MCvPoint2D64f p1, MCvPoint2D64f p2)
Parameters
p1
MCvPoint2D64fThe first point
p2
MCvPoint2D64fThe point to be added
Returns
- MCvPoint2D64f
The sum of two points