Show / Hide Table of Contents

Class HeadPose

Represents an head pose.

Inheritance
System.Object
HeadPose
Implements
System.IEquatable<HeadPose>
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 HeadPose : IEquatable<HeadPose>

Constructors

| Improve this Doc View Source

HeadPose(Double, Double, Double)

Initializes a new instance of the HeadPose class with the specified roll, pitch and yaw.

Declaration
public HeadPose(double roll, double pitch, double yaw)
Parameters
Type Name Description
System.Double roll

The roll angle.

System.Double pitch

The pitch angle.

System.Double yaw

The yaw angle.

Properties

| Improve this Doc View Source

Pitch

Gets the pitch angle of this HeadPose.

Declaration
public double Pitch { get; }
Property Value
Type Description
System.Double
| Improve this Doc View Source

Roll

Gets the roll angle of this HeadPose.

Declaration
public double Roll { get; }
Property Value
Type Description
System.Double
| Improve this Doc View Source

Yaw

Gets the yaw angle of this HeadPose.

Declaration
public double Yaw { get; }
Property Value
Type Description
System.Double

Methods

| Improve this Doc View Source

Equals(HeadPose)

Compares two HeadPose class for equality.

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

The pose to compare to this instance.

Returns
Type Description
System.Boolean
true
if both HeadPose class contain the same Roll, Pitch and Yaw values; otherwise,
false
.
| Improve this Doc View Source

Equals(Object)

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

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 HeadPose and contains the same Roll, Pitch and Yaw values as this HeadPose; otherwise,
false
.
Overrides
System.Object.Equals(System.Object)
| Improve this Doc View Source

GetHashCode()

Returns the hash code for this HeadPose.

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

The hash code for this HeadPose structure.

Overrides
System.Object.GetHashCode()

Operators

| Improve this Doc View Source

Equality(HeadPose, HeadPose)

Compares two HeadPose class for equality.

Declaration
public static bool operator ==(HeadPose pose1, HeadPose pose2)
Parameters
Type Name Description
HeadPose pose1

The first HeadPose structure to compare.

HeadPose pose2

The second HeadPose structure to compare.

Returns
Type Description
System.Boolean
true
if the Roll, Pitch and Yaw of pose1 and pose2 are equal; otherwise,
false
.
| Improve this Doc View Source

Inequality(HeadPose, HeadPose)

Compares two HeadPose class for inequality.

Declaration
public static bool operator !=(HeadPose pose1, HeadPose pose2)
Parameters
Type Name Description
HeadPose pose1

The first HeadPose structure to compare.

HeadPose pose2

The second HeadPose structure to compare.

Returns
Type Description
System.Boolean
true
if pose1 and pose2 have different Roll or Yaw;
false
if pose1 and pose2 have the same Roll, Pitch and Yaw.

Implements

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