Table of Contents

Struct MCvPoint3D32f

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

Managed Structure equivalent to CvPoint3D32f

public struct MCvPoint3D32f : IEquatable<MCvPoint3D32f>
Implements
Inherited Members

Constructors

MCvPoint3D32f(float, float, float)

Create a MCvPoint3D32f structure with the specific x and y coordinates

public MCvPoint3D32f(float x, float y, float z)

Parameters

x float

x-coordinate

y float

y-coordinate

z float

z-coordinate

Fields

X

x-coordinate

public float X

Field Value

float

Y

y-coordinate

public float Y

Field Value

float

Z

z-coordinate

public float Z

Field Value

float

Properties

Norm

return the norm of this 3D point

public double Norm { get; }

Property Value

double

Methods

CrossProduct(MCvPoint3D32f)

Return the cross product of two 3D point

public MCvPoint3D32f CrossProduct(MCvPoint3D32f point)

Parameters

point MCvPoint3D32f

the other 3D point

Returns

MCvPoint3D32f

The cross product of the two 3D point

DotProduct(MCvPoint3D32f)

Return the dot product of two 3D point

public float DotProduct(MCvPoint3D32f point)

Parameters

point MCvPoint3D32f

the other 3D point

Returns

float

The dot product of the two 3D point

Equals(MCvPoint3D32f)

Return true if the location of the two points are equal

public bool Equals(MCvPoint3D32f other)

Parameters

other MCvPoint3D32f

The other point to compare with

Returns

bool

True if the location of the two points are equal

GetNormalizedPoint()

Get the normalized point

public MCvPoint3D32f GetNormalizedPoint()

Returns

MCvPoint3D32f

The normalized point

Operators

operator +(MCvPoint3D32f, MCvPoint3D32f)

Compute the sum of two 3D points

public static MCvPoint3D32f operator +(MCvPoint3D32f p1, MCvPoint3D32f p2)

Parameters

p1 MCvPoint3D32f

The first point to be added

p2 MCvPoint3D32f

The second point to be added

Returns

MCvPoint3D32f

The sum of two points

implicit operator MCvPoint3D64f(MCvPoint3D32f)

The implicit operator to convert MCvPoint3D32f to MCvPoint3D64f

public static implicit operator MCvPoint3D64f(MCvPoint3D32f point)

Parameters

point MCvPoint3D32f

The point to be converted

Returns

MCvPoint3D64f

The converted point

operator *(MCvPoint3D32f, float)

Multiply the point with a scale

public static MCvPoint3D32f operator *(MCvPoint3D32f p, float scale)

Parameters

p MCvPoint3D32f

The point to be multiplied

scale float

The scale

Returns

MCvPoint3D32f

The point multiplied by the scale

operator *(float, MCvPoint3D32f)

Multiply the point with a scale

public static MCvPoint3D32f operator *(float scale, MCvPoint3D32f p)

Parameters

scale float

The scale

p MCvPoint3D32f

The point to be multiplied

Returns

MCvPoint3D32f

The point multiplied by the scale

operator -(MCvPoint3D32f, MCvPoint3D32f)

Subtract one point from the other

public static MCvPoint3D32f operator -(MCvPoint3D32f p1, MCvPoint3D32f p2)

Parameters

p1 MCvPoint3D32f

The point to subtract from

p2 MCvPoint3D32f

The value to be subtracted

Returns

MCvPoint3D32f

The subtraction of one point from the other