Interface Embedding<P extends Point<P>,​S extends Point<S>>

    • Method Summary

      All Methods Instance Methods Abstract Methods Default Methods 
      Modifier and Type Method Description
      default java.util.List<P> toSpace​(java.util.Collection<S> pts)
      Transform a collection of subspace points into space points.
      P toSpace​(S pt)
      Transform a subspace point into a space point.
      default java.util.List<S> toSubspace​(java.util.Collection<P> pts)
      Transform a collection of space points into subspace points.
      S toSubspace​(P pt)
      Transform a space point into a subspace point.
    • Method Detail

      • toSubspace

        S toSubspace​(P pt)
        Transform a space point into a subspace point.
        Parameters:
        pt - n-dimension point of the space
        Returns:
        lower-dimension point of the subspace corresponding to the specified space point
        See Also:
        toSpace(S)
      • toSubspace

        default java.util.List<S> toSubspace​(java.util.Collection<P> pts)
        Transform a collection of space points into subspace points.
        Parameters:
        pts - collection of n-dimension points to transform
        Returns:
        collection of transformed lower-dimension points.
        See Also:
        toSubspace(Point)
      • toSpace

        P toSpace​(S pt)
        Transform a subspace point into a space point.
        Parameters:
        pt - lower-dimension point of the subspace
        Returns:
        n-dimension point of the space corresponding to the specified subspace point
        See Also:
        toSubspace(Point)
      • toSpace

        default java.util.List<P> toSpace​(java.util.Collection<S> pts)
        Transform a collection of subspace points into space points.
        Parameters:
        pts - collection of lower-dimension points to transform
        Returns:
        collection of transformed n-dimension points.
        See Also:
        toSpace(Point)