Interface ColumnFinePosition


@Experimental @NullMarked public interface ColumnFinePosition
A fine position, which does not hold a y value.
  • Method Summary

    Modifier and Type
    Method
    Description
    default FinePosition
    toPosition(double y)
    Converts this column-based position into a full 3D FinePosition by supplying a Y-coordinate.
    double
    x()
    Gets the X-coordinate of this position.
    double
    z()
    Gets the Z-coordinate of this position.
  • Method Details

    • x

      double x()
      Gets the X-coordinate of this position.
      Returns:
      the X-coordinate as a double
    • z

      double z()
      Gets the Z-coordinate of this position.
      Returns:
      the Z-coordinate as a double
    • toPosition

      default FinePosition toPosition(double y)
      Converts this column-based position into a full 3D FinePosition by supplying a Y-coordinate.
      Parameters:
      y - the Y-coordinate to include in the new position
      Returns:
      a FinePosition representing the full 3D position