Class ARLocation

  • All Implemented Interfaces:

    
    public class ARLocation
    
                        

    AR Location model which can represent both indoor and outdoor locations

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private final Float x
      private final Float y
      private final Float z
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      Float getX() Getter for x-coordinate in (0,1) coordinate space
      Float getY() Getter for y-coordinate in (0,1) coordinate space
      Float getZ() Getter for z-coordinate in (0,1) coordinate space
      Boolean isValid() ARLocation validity checker
      String toString()
      Boolean equals(Object other)
      Integer hashCode()
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • getX

         Float getX()

        Getter for x-coordinate in (0,1) coordinate space

        Returns:

        X-coordinate of ar location

      • getY

         Float getY()

        Getter for y-coordinate in (0,1) coordinate space

        Returns:

        Y-coordinate of ar location

      • getZ

         Float getZ()

        Getter for z-coordinate in (0,1) coordinate space

        Returns:

        Z-coordinate of ar location

      • isValid

         Boolean isValid()

        ARLocation validity checker

        Returns:

        True if location is valid, false otherwise