PointF3D

  • 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 abstract class PointF3D extends Object

Represents a 3D 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

Public Constructors

public PointF3D ()

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.