Struct MCvPoint3D64f
Managed Structure equivalent to CvPoint3D64f
public struct MCvPoint3D64f : IEquatable<MCvPoint3D64f>
- Implements
- Inherited Members
Constructors
MCvPoint3D64f(double, double, double)
Create a MCvPoint3D64f structure with the specific x and y coordinates
public MCvPoint3D64f(double x, double y, double z)
Parameters
Fields
X
x-coordinate
public double X
Field Value
Y
y-coordinate
public double Y
Field Value
Z
z-coordinate
public double Z
Field Value
Methods
CrossProduct(MCvPoint3D64f)
Return the cross product of two 3D point
public MCvPoint3D64f CrossProduct(MCvPoint3D64f point)
Parameters
point
MCvPoint3D64fthe other 3D point
Returns
- MCvPoint3D64f
The cross product of the two 3D point
DotProduct(MCvPoint3D64f)
Return the dot product of two 3D point
public double DotProduct(MCvPoint3D64f point)
Parameters
point
MCvPoint3D64fthe other 3D point
Returns
- double
The dot product of the two 3D point
Equals(MCvPoint3D64f)
Check if the other point equals to this point
public bool Equals(MCvPoint3D64f other)
Parameters
other
MCvPoint3D64fThe point to be compared
Returns
- bool
True if the two points are equal
Operators
operator +(MCvPoint3D64f, MCvPoint3D64f)
Compute the sum of two 3D points
public static MCvPoint3D64f operator +(MCvPoint3D64f p1, MCvPoint3D64f p2)
Parameters
p1
MCvPoint3D64fThe first point to be added
p2
MCvPoint3D64fThe second point to be added
Returns
- MCvPoint3D64f
The sum of two points
operator *(MCvPoint3D64f, double)
Multiply the point with a scale
public static MCvPoint3D64f operator *(MCvPoint3D64f p, double scale)
Parameters
p
MCvPoint3D64fThe point to be multiplied
scale
doubleThe scale
Returns
- MCvPoint3D64f
The point multiplied by the scale
operator *(double, MCvPoint3D64f)
Multiply the point with a scale
public static MCvPoint3D64f operator *(double scale, MCvPoint3D64f p)
Parameters
scale
doubleThe scale
p
MCvPoint3D64fThe point to be multiplied
Returns
- MCvPoint3D64f
The point multiplied by the scale
operator -(MCvPoint3D64f, MCvPoint3D64f)
Subtract p2
from p1
public static MCvPoint3D64f operator -(MCvPoint3D64f p1, MCvPoint3D64f p2)
Parameters
p1
MCvPoint3D64fThe first point
p2
MCvPoint3D64fThe point to be added
Returns
- MCvPoint3D64f
The sum of two points