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.
Namespace
Google.Cloud.Vision.V1Assembly
Google.Cloud.Vision.V1.dll
Constructors
Position()
public Position()
Position(Position)
public Position(Position other)
Parameter | |
---|---|
Name | Description |
other |
Position |
Properties
X
public float X { get; set; }
X coordinate.
Property Value | |
---|---|
Type | Description |
float |
Y
public float Y { get; set; }
Y coordinate.
Property Value | |
---|---|
Type | Description |
float |
Z
public float Z { get; set; }
Z coordinate (or depth).
Property Value | |
---|---|
Type | Description |
float |