Show / Hide Table of Contents

Class FacePoint

Represents an coordinate and index of face parts.

Inheritance
System.Object
FacePoint
Implements
System.IEquatable<FacePoint>
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: FaceRecognitionDotNet
Assembly: FaceRecognitionDotNet.dll
Syntax
public class FacePoint : IEquatable<FacePoint>

Constructors

| Improve this Doc View Source

FacePoint(Point, Int32)

Initializes a new instance of the FacePoint class with the specified coordinates and index.

Declaration
public FacePoint(Point point, int index)
Parameters
Type Name Description
Point point

The coordinate of face parts.

System.Int32 index

The index of face parts.

Properties

| Improve this Doc View Source

Index

Gets the index of this FacePoint.

Declaration
public int Index { get; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

Point

Gets the coordinate of this FacePoint.

Declaration
public Point Point { get; }
Property Value
Type Description
Point

Methods

| Improve this Doc View Source

Equals(FacePoint)

Compares two FacePoint class for equality.

Declaration
public bool Equals(FacePoint other)
Parameters
Type Name Description
FacePoint other

The point to compare to this instance.

Returns
Type Description
System.Boolean
true
if both FacePoint class contain the same Point and Index values; otherwise,
false
.
| Improve this Doc View Source

Equals(Object)

Determines whether the specified System.Object is a FacePoint and whether it contains the same data as this FacePoint.

Declaration
public override bool Equals(object obj)
Parameters
Type Name Description
System.Object obj

The System.Object to compare.

Returns
Type Description
System.Boolean
true
if obj is a FacePoint and contains the same Point and Index values as this FacePoint; otherwise,
false
.
Overrides
System.Object.Equals(System.Object)
| Improve this Doc View Source

GetHashCode()

Returns the hash code for this FacePoint.

Declaration
public override int GetHashCode()
Returns
Type Description
System.Int32

The hash code for this FacePoint class.

Overrides
System.Object.GetHashCode()

Operators

| Improve this Doc View Source

Equality(FacePoint, FacePoint)

Compares two FacePoint class for equality.

Declaration
public static bool operator ==(FacePoint point1, FacePoint point2)
Parameters
Type Name Description
FacePoint point1

The first FacePoint class to compare.

FacePoint point2

The second FacePoint class to compare.

Returns
Type Description
System.Boolean
true
if both the Point and Index of point1 and point2 are equal; otherwise,
false
.
| Improve this Doc View Source

Inequality(FacePoint, FacePoint)

Compares two FacePoint class for inequality.

Declaration
public static bool operator !=(FacePoint point1, FacePoint point2)
Parameters
Type Name Description
FacePoint point1

The first FacePoint class to compare.

FacePoint point2

The second FacePoint class to compare.

Returns
Type Description
System.Boolean
true
if point1 and point2 have different Point or Index;
false
if point1 and point2 have the same Point and Index.

Implements

System.IEquatable<T>
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX