Google Cloud Vision v1 API - Class Position (3.3.0)

public sealed class Position : IMessage<Position>, IEquatable<Position>, IDeepCloneable<Position>, IBufferMessage, IMessage

Reference documentation and code samples for the Google Cloud Vision v1 API class Position.

A 3D position in the image, used primarily for Face detection landmarks. A valid Position must have both x and y coordinates. The position coordinates are in the same scale as the original image.

Inheritance

Object > Position

Namespace

Google.Cloud.Vision.V1

Assembly

Google.Cloud.Vision.V1.dll

Constructors

Position()

public Position()

Position(Position)

public Position(Position other)
Parameter
NameDescription
otherPosition

Properties

X

public float X { get; set; }

X coordinate.

Property Value
TypeDescription
Single

Y

public float Y { get; set; }

Y coordinate.

Property Value
TypeDescription
Single

Z

public float Z { get; set; }

Z coordinate (or depth).

Property Value
TypeDescription
Single