Table of Contents

Struct MCvPoint2D64f

Namespace
Emgu.CV.Structure
Assembly
Emgu.CV.dll

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

x double

x-coordinate

y double

y-coordinate

Fields

X

x-coordinate

public double X

Field Value

double

Y

y-coordinate

public double Y

Field Value

double

Methods

Equals(MCvPoint2D64f)

Returns true if the two points equals.

public bool Equals(MCvPoint2D64f other)

Parameters

other MCvPoint2D64f

The 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 MCvPoint2D64f

The first point to be added

p2 MCvPoint2D64f

The 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 MCvPoint2D64f

The point to be multiplied

scale double

The 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 double

The scale

p MCvPoint2D64f

The 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 MCvPoint2D64f

The first point

p2 MCvPoint2D64f

The point to be added

Returns

MCvPoint2D64f

The sum of two points