Send feedback
PointF3D
Stay organized with collections
Save and categorize content based on your preferences.
outlined_flag
PointF3D represents a 3D point and extends the Object class.
A PointF3D object can be created using its constructor or the static from method with X, Y, and Z coordinates.
The class provides methods to retrieve the X, Y, and Z values of the point.
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
final
Class <?>
getClass ()
final void
wait (long arg0, int arg1)
final void
wait (long arg0)
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.
Send feedback
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.
Need to tell us more?
[[["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."],[],[]]