Class Line3D.SubspaceTransform

  • Enclosing class:
    Line3D

    public static final class Line3D.SubspaceTransform
    extends java.lang.Object
    Class containing a transformed line instance along with a subspace (1D) transform. The subspace transform produces the equivalent of the 3D transform in 1D.
    • Field Detail

      • line

        private final Line3D line
        The transformed line.
    • Constructor Detail

      • SubspaceTransform

        public SubspaceTransform​(Line3D line,
                                 AffineTransformMatrix1D transform)
        Simple constructor.
        Parameters:
        line - the transformed line
        transform - 1D transform that can be applied to subspace points
    • Method Detail

      • getLine

        public Line3D getLine()
        Get the transformed line instance.
        Returns:
        the transformed line instance
      • getTransform

        public AffineTransformMatrix1D getTransform()
        Get the 1D transform that can be applied to subspace points. This transform can be used to perform the equivalent of the 3D transform in 1D space.
        Returns:
        the subspace transform instance