AzureGroundingEnhancementCoordinatePoint Class
- java.
lang. Object - com.
azure. ai. openai. models. AzureGroundingEnhancementCoordinatePoint
- com.
Implements
public final class AzureGroundingEnhancementCoordinatePoint
implements JsonSerializable<AzureGroundingEnhancementCoordinatePoint>
A representation of a single polygon point as used by the Azure grounding enhancement.
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Azure |
fromJson(JsonReader jsonReader)
Reads an instance of Azure |
double |
getX()
Get the x property: The x-coordinate (horizontal axis) of the point. |
double |
getY()
Get the y property: The y-coordinate (vertical axis) of the point. |
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Method Details
fromJson
public static AzureGroundingEnhancementCoordinatePoint fromJson(JsonReader jsonReader)
Reads an instance of AzureGroundingEnhancementCoordinatePoint from the JsonReader.
Parameters:
Returns:
Throws:
getX
public double getX()
Get the x property: The x-coordinate (horizontal axis) of the point.
Returns:
getY
public double getY()
Get the y property: The y-coordinate (vertical axis) of the point.
Returns:
toJson
Applies to
Azure SDK for Java