Class Point3D

java.lang.Object
com.here.sdk.core.Point3D

public final class Point3D extends Object

Represents a point in 3D space.

  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    double
    Position along the X axis.
    double
    Position along the Y axis.
    double
    Position along the Z axis.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Constructs Point3D instance at coordinate system's origin.
    Point3D(double x, double y, double z)
    Constructs Point3D instance from the provided x,y and z values.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    int
     

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • x

      public double x

      Position along the X axis. The default value is 0.

    • y

      public double y

      Position along the Y axis. The default value is 0.

    • z

      public double z

      Position along the Z axis. The default value is 0.

  • Constructor Details

    • Point3D

      public Point3D()

      Constructs Point3D instance at coordinate system's origin.

    • Point3D

      public Point3D(double x, double y, double z)

      Constructs Point3D instance from the provided x,y and z values.

      Parameters:
      x -

      Position along the X axis. The default value is 0.

      y -

      Position along the Y axis. The default value is 0.

      z -

      Position along the Z axis. The default value is 0.

  • Method Details