Question: How do I apply a function to multiple points?

I need to use a function that transform a 3 coordonates point (x,y,z) into a 2 coordonates point (x,y) on a specified projection plane, which I called fg. I have the function, but I need to apply it to over a thousand points. Is there a more efficient way than what I did below to do so?

cube1:=[fg(p1), fg(p2), fg(p3), fg(p4), fg(p1), fg(p5), fg(p6), fg(p2), fg(p6), fg(p7), fg(p3), fg(p7), fg(p8), fg(p4), fg(p8), fg(p5)]

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Please Wait...