Class RMPoint3D

java.lang.Object
com.inductiveautomation.rm.graphics.RMPoint3D
All Implemented Interfaces:
Cloneable

public class RMPoint3D extends Object implements Cloneable
This class represents a 3D point.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    double
     
    double
     
    double
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    RMPoint3D(double x, double y, double z)
    Creates a new point3d from the x, y, z coords.
  • Method Summary

    Modifier and Type
    Method
    Description
    implements Cloneable interface
    boolean
    equals(Object anObj)
    Standard equals implementation.
    Returns a string representation of the point.
    Transforms the point by the given transform3d.

    Methods inherited from class java.lang.Object

    finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • x

      public double x
    • y

      public double y
    • z

      public double z
  • Constructor Details

    • RMPoint3D

      public RMPoint3D(double x, double y, double z)
      Creates a new point3d from the x, y, z coords.
  • Method Details

    • transform

      public RMPoint3D transform(RMTransform3D xform)
      Transforms the point by the given transform3d.
    • equals

      public boolean equals(Object anObj)
      Standard equals implementation.
      Overrides:
      equals in class Object
    • clone

      public Object clone()
      implements Cloneable interface
      Overrides:
      clone in class Object
    • toString

      public String toString()
      Returns a string representation of the point.
      Overrides:
      toString in class Object