PointF3D
Stay organized with collections
Save and categorize content based on your preferences.
Public Constructor Summary
Public Method Summary
static PointF3D
|
from
(float x, float y, float z) Creates a 3D point with given X, Y, Z coordinate values.
|
abstract float |
getX
() Returns the X value of the point.
|
abstract float |
getY
() Returns the Y value of the point.
|
abstract float |
getZ
() Returns the Z value of the point.
|
Inherited Method Summary
From class java.lang.Object
Public Methods
public static PointF3D
from
(float x, float y,
float z)
Creates a 3D point with given X, Y, Z coordinate values.
The return value is always non-null.
public abstract float
getX
()
Returns the X value of the point.
public abstract float
getY
()
Returns the Y value of the point.
public abstract float
getZ
()
Returns the Z value of the point.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License
, and code samples are licensed under the Apache 2.0 License
. For details, see the Google Developers Site Policies
. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-31 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-31 UTC."],[[["\u003cp\u003e\u003ccode\u003ePointF3D\u003c/code\u003e represents a three-dimensional point with X, Y, and Z coordinates.\u003c/p\u003e\n"],["\u003cp\u003eIt provides methods to get the X, Y, and Z values of the point.\u003c/p\u003e\n"],["\u003cp\u003eA static \u003ccode\u003efrom()\u003c/code\u003e method allows creating a \u003ccode\u003ePointF3D\u003c/code\u003e instance with specified coordinates.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003ePointF3D\u003c/code\u003e is an abstract class, meaning it cannot be directly instantiated but must be subclassed.\u003c/p\u003e\n"]]],[],null,["# PointF3D\n\npublic abstract class **PointF3D** extends [Object](https://developer.android.com/reference/java/lang/Object.html) \nRepresents a 3D point. \n\n### Public Constructor Summary\n\n|---|-------------------------------------------------------------------------------------|\n| | [PointF3D](/android/reference/com/google/mlkit/vision/common/PointF3D#PointF3D())() |\n\n### Public Method Summary\n\n|-------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| static [PointF3D](/android/reference/com/google/mlkit/vision/common/PointF3D) | [from](/android/reference/com/google/mlkit/vision/common/PointF3D#from(float,%20float,%20float))(float x, float y, float z) Creates a 3D point with given X, Y, Z coordinate values. |\n| abstract float | [getX](/android/reference/com/google/mlkit/vision/common/PointF3D#getX())() Returns the X value of the point. |\n| abstract float | [getY](/android/reference/com/google/mlkit/vision/common/PointF3D#getY())() Returns the Y value of the point. |\n| abstract float | [getZ](/android/reference/com/google/mlkit/vision/common/PointF3D#getZ())() Returns the Z value of the point. |\n\n### Inherited Method Summary\n\nFrom class java.lang.Object \n\n|----------------------------------------------------------------------------------|--------------------------------------------------------------------------------------|\n| [Object](https://developer.android.com/reference/java/lang/Object.html) | clone() |\n| boolean | equals([Object](https://developer.android.com/reference/java/lang/Object.html) arg0) |\n| void | finalize() |\n| final [Class](https://developer.android.com/reference/java/lang/Class.html)\\\u003c?\\\u003e | getClass() |\n| int | hashCode() |\n| final void | notify() |\n| final void | notifyAll() |\n| [String](https://developer.android.com/reference/java/lang/String.html) | toString() |\n| final void | wait(long arg0, int arg1) |\n| final void | wait(long arg0) |\n| final void | wait() |\n\nPublic Constructors\n-------------------\n\n#### public **PointF3D** ()\n\nPublic Methods\n--------------\n\n#### public static [PointF3D](/android/reference/com/google/mlkit/vision/common/PointF3D)\n**from** (float x, float y, float z)\n\nCreates a 3D point with given X, Y, Z coordinate values.\n\nThe return value is always non-null. \n\n#### public abstract float **getX** ()\n\nReturns the X value of the point. \n\n#### public abstract float **getY** ()\n\nReturns the Y value of the point. \n\n#### public abstract float **getZ** ()\n\nReturns the Z value of the point."]]