Module swim.math
Package swim.math

Class R3Point

All Implemented Interfaces:
Debug, Shape

public class R3Point extends R3Shape implements Debug
  • Field Details

    • x

      public final double x
    • y

      public final double y
    • z

      public final double z
  • Constructor Details

    • R3Point

      public R3Point(double x, double y, double z)
  • Method Details

    • plus

      public final R3Point plus(R3Vector vector)
    • minux

      public final R3Point minux(R3Vector vector)
    • minus

      public final R3Vector minus(R3Point that)
    • xMin

      public final double xMin()
      Specified by:
      xMin in class R3Shape
    • yMin

      public final double yMin()
      Specified by:
      yMin in class R3Shape
    • zMin

      public final double zMin()
      Specified by:
      zMin in class R3Shape
    • xMax

      public final double xMax()
      Specified by:
      xMax in class R3Shape
    • yMax

      public final double yMax()
      Specified by:
      yMax in class R3Shape
    • zMax

      public final double zMax()
      Specified by:
      zMax in class R3Shape
    • contains

      public boolean contains(R3Shape shape)
      Specified by:
      contains in class R3Shape
    • intersects

      public boolean intersects(R3Shape shape)
      Specified by:
      intersects in class R3Shape
    • transform

      public Z3Point transform(R3ToZ3Function f)
      Specified by:
      transform in class R3Shape
    • toValue

      public Value toValue()
      Specified by:
      toValue in interface Shape
    • canEqual

      protected boolean canEqual(R3Point that)
    • equals

      public boolean equals(Object other)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • debug

      public <T> Output<T> debug(Output<T> output)
      Description copied from interface: Debug
      Writes a developer readable, debug-formatted string representation of this object to output.
      Specified by:
      debug in interface Debug
      Returns:
      the continuation of the output.
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • origin

      public static R3Point origin()
    • of

      public static R3Point of(double x, double y, double z)
    • form

      @Kind public static R3Form<R3Point> form()