Transformations.projectx

You're seeing just the function projectx, go back to Transformations module for more information.

Project a shape down to the yz plane.

Examples

    iex(1)> shape = Transformations.matrix([
                      [0,1,1,0,0,1,1,0],
                      [0,0,0,0,1,1,1,1],
                      [0,0,1,1,0,0,1,1],
                      [1,1,1,1,1,1,1,1]
                    ])
            shape |> Transformations.projectx()
    #Matrex[4×8]
                                                                  
      0.0     0.0     0.0     0.0     0.0     0.0     0.0     0.0 
      0.0     0.0     0.0     0.0     1.0     1.0     1.0     1.0 
      0.0     0.0     1.0     1.0     0.0     0.0     1.0     1.0 
      1.0     1.0     1.0     1.0     1.0     1.0     1.0     1.0