Interface UnmodifiablePoint3D<RP extends Point3D<? super RP,​? super RV>,​RV extends Vector3D<? super RV,​? super RP>>

    • Method Detail

      • add

        default void add​(Point3D<?,​?> point,
                         Vector3D<?,​?> vector)
        Description copied from interface: Point3D
        Sets the value of this tuple to the sum of tuples t1 and t2.
        Specified by:
        add in interface Point3D<RP extends Point3D<? super RP,​? super RV>,​RV extends Vector3D<? super RV,​? super RP>>
        Parameters:
        point - the first tuple
        vector - the second tuple
      • add

        default void add​(Vector3D<?,​?> point,
                         Point3D<?,​?> vector)
        Description copied from interface: Point3D
        Sets the value of this tuple to the sum of tuples t1 and t2.
        Specified by:
        add in interface Point3D<RP extends Point3D<? super RP,​? super RV>,​RV extends Vector3D<? super RV,​? super RP>>
        Parameters:
        point - the second tuple
        vector - the first tuple
      • add

        default void add​(Vector3D<?,​?> vector)
        Description copied from interface: Point3D
        Sets the value of this tuple to the sum of itself and t1.
        Specified by:
        add in interface Point3D<RP extends Point3D<? super RP,​? super RV>,​RV extends Vector3D<? super RV,​? super RP>>
        Parameters:
        vector - the other tuple
      • scaleAdd

        default void scaleAdd​(int scale,
                              Vector3D<?,​?> vector,
                              Point3D<?,​?> point)
        Description copied from interface: Point3D
        Sets the value of this tuple to the scalar multiplication of tuple t1 plus tuple t2 (this = s*t1 + t2).
        Specified by:
        scaleAdd in interface Point3D<RP extends Point3D<? super RP,​? super RV>,​RV extends Vector3D<? super RV,​? super RP>>
        Parameters:
        scale - the scalar value
        vector - the tuple to be multipled
        point - the tuple to be added
      • scaleAdd

        default void scaleAdd​(double scale,
                              Vector3D<?,​?> vector,
                              Point3D<?,​?> point)
        Description copied from interface: Point3D
        Sets the value of this tuple to the scalar multiplication of tuple t1 plus tuple t2 (this = s*t1 + t2).
        Specified by:
        scaleAdd in interface Point3D<RP extends Point3D<? super RP,​? super RV>,​RV extends Vector3D<? super RV,​? super RP>>
        Parameters:
        scale - the scalar value
        vector - the tuple to be multipled
        point - the tuple to be added
      • scaleAdd

        default void scaleAdd​(int scale,
                              Point3D<?,​?> point,
                              Vector3D<?,​?> vector)
        Description copied from interface: Point3D
        Sets the value of this tuple to the scalar multiplication of tuple t1 plus tuple t2 (this = s*t1 + t2).
        Specified by:
        scaleAdd in interface Point3D<RP extends Point3D<? super RP,​? super RV>,​RV extends Vector3D<? super RV,​? super RP>>
        Parameters:
        scale - the scalar value
        point - the tuple to be multipled
        vector - the tuple to be added
      • scaleAdd

        default void scaleAdd​(double scale,
                              Point3D<?,​?> point,
                              Vector3D<?,​?> vector)
        Description copied from interface: Point3D
        Sets the value of this tuple to the scalar multiplication of tuple t1 plus tuple t2 (this = s*t1 + t2).
        Specified by:
        scaleAdd in interface Point3D<RP extends Point3D<? super RP,​? super RV>,​RV extends Vector3D<? super RV,​? super RP>>
        Parameters:
        scale - the scalar value
        point - the tuple to be multipled
        vector - the tuple to be added
      • scaleAdd

        default void scaleAdd​(int scale,
                              Vector3D<?,​?> vector)
        Description copied from interface: Point3D
        Sets the value of this tuple to the scalar multiplication of itself and then adds tuple t1 (this = s*this + t1).
        Specified by:
        scaleAdd in interface Point3D<RP extends Point3D<? super RP,​? super RV>,​RV extends Vector3D<? super RV,​? super RP>>
        Parameters:
        scale - the scalar value
        vector - the tuple to be added
      • scaleAdd

        default void scaleAdd​(double scale,
                              Vector3D<?,​?> vector)
        Description copied from interface: Point3D
        Sets the value of this tuple to the scalar multiplication of itself and then adds tuple t1 (this = s*this + t1).
        Specified by:
        scaleAdd in interface Point3D<RP extends Point3D<? super RP,​? super RV>,​RV extends Vector3D<? super RV,​? super RP>>
        Parameters:
        scale - the scalar value
        vector - the tuple to be added
      • sub

        default void sub​(Point3D<?,​?> point,
                         Vector3D<?,​?> vector)
        Description copied from interface: Point3D
        Sets the value of this tuple to the difference of tuples t1 and t2 (this = t1 - t2).
        Specified by:
        sub in interface Point3D<RP extends Point3D<? super RP,​? super RV>,​RV extends Vector3D<? super RV,​? super RP>>
        Parameters:
        point - the first tuple
        vector - the second tuple
      • sub

        default void sub​(Vector3D<?,​?> vector)
        Description copied from interface: Point3D
        Sets the value of this tuple to the difference of itself and t1 (this = this - t1).
        Specified by:
        sub in interface Point3D<RP extends Point3D<? super RP,​? super RV>,​RV extends Vector3D<? super RV,​? super RP>>
        Parameters:
        vector - the other tuple
      • operator_add

        default void operator_add​(Vector3D<?,​?> v)
        Description copied from interface: Point3D
        Increment this point with the given vector: this += v

        This function is an implementation of the "-" operator for the languages that defined or based on the Xtext framework.

        Specified by:
        operator_add in interface Point3D<RP extends Point3D<? super RP,​? super RV>,​RV extends Vector3D<? super RV,​? super RP>>
        Parameters:
        v - the vector to add
        See Also:
        Point3D.add(Vector3D)