Class Vector3l

    • Constructor Detail

      • Vector3l

        public Vector3l​(Vector2l v)
      • Vector3l

        public Vector3l​(Vector2l v,
                        double z)
      • Vector3l

        public Vector3l​(Vector2l v,
                        long z)
      • Vector3l

        public Vector3l​(Vector4l v)
      • Vector3l

        public Vector3l​(VectorNl v)
      • Vector3l

        public Vector3l​(double x,
                        double y,
                        double z)
      • Vector3l

        public Vector3l​(long x,
                        long y,
                        long z)
    • Method Detail

      • x

        public long x()
      • y

        public long y()
      • z

        public long z()
      • add

        public Vector3l add​(double x,
                            double y,
                            double z)
      • add

        public Vector3l add​(long x,
                            long y,
                            long z)
      • sub

        public Vector3l sub​(double x,
                            double y,
                            double z)
      • sub

        public Vector3l sub​(long x,
                            long y,
                            long z)
      • mul

        public Vector3l mul​(double a)
      • mul

        public Vector3l mul​(double x,
                            double y,
                            double z)
      • mul

        public Vector3l mul​(long x,
                            long y,
                            long z)
      • div

        public Vector3l div​(double a)
      • div

        public Vector3l div​(double x,
                            double y,
                            double z)
      • div

        public Vector3l div​(long x,
                            long y,
                            long z)
      • dot

        public long dot​(double x,
                        double y,
                        double z)
      • dot

        public long dot​(long x,
                        long y,
                        long z)
      • project

        public Vector3l project​(double x,
                                double y,
                                double z)
      • project

        public Vector3l project​(long x,
                                long y,
                                long z)
      • cross

        public Vector3l cross​(double x,
                              double y,
                              double z)
      • cross

        public Vector3l cross​(long x,
                              long y,
                              long z)
      • pow

        public Vector3l pow​(double pow)
      • min

        public Vector3l min​(double x,
                            double y,
                            double z)
      • min

        public Vector3l min​(long x,
                            long y,
                            long z)
      • max

        public Vector3l max​(double x,
                            double y,
                            double z)
      • max

        public Vector3l max​(long x,
                            long y,
                            long z)
      • distanceSquared

        public long distanceSquared​(Vector3l v)
      • distanceSquared

        public long distanceSquared​(double x,
                                    double y,
                                    double z)
      • distanceSquared

        public long distanceSquared​(long x,
                                    long y,
                                    long z)
      • distance

        public double distance​(Vector3l v)
      • distance

        public double distance​(double x,
                               double y,
                               double z)
      • distance

        public double distance​(long x,
                               long y,
                               long z)
      • length

        public double length()
        Specified by:
        length in interface Vectorl
      • minAxis

        public int minAxis()
        Returns the axis with the minimal value.
        Specified by:
        minAxis in interface Vectorl
        Returns:
        int axis with minimal value
      • maxAxis

        public int maxAxis()
        Returns the axis with the maximum value.
        Specified by:
        maxAxis in interface Vectorl
        Returns:
        int axis with maximum value
      • toVector2

        public Vector2l toVector2()
      • toVector2

        public Vector2l toVector2​(boolean useZ)
      • toVector4

        public Vector4l toVector4()
      • toVector4

        public Vector4l toVector4​(double w)
      • toVector4

        public Vector4l toVector4​(long w)
      • toVectorN

        public VectorNl toVectorN()
      • toArray

        public long[] toArray()
        Specified by:
        toArray in interface Vectorl
      • hashCode

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

        public static Vector3l from​(long n)
      • from

        public static Vector3l from​(long x,
                                    long y,
                                    long z)