PointF3D

  • PointF3D represents a three-dimensional point with X, Y, and Z coordinates.

  • It provides methods to get the X, Y, and Z values of the point.

  • A static from() method allows creating a PointF3D instance with specified coordinates.

  • PointF3D is an abstract class, meaning it cannot be directly instantiated but must be subclassed.

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.