Mark("positions") makes the positions component temporarily the data
component.  Compute("mag(a)", ... replaces the xyz positions with |xyz| -
now, the data component contains the scalar distance from each point to the
origin.  Use Include to keep only those within a fixed radius, and then
Unmark to restore the original data to the grid points.

Greg


                                                                                
                                                   
                      Rob Lahaye <[EMAIL PROTECTED]>                            
                                                    
                      Sent by:                             To:       
[email protected]                            
                      [EMAIL PROTECTED]        cc:                              
                                       
                      son.ibm.com                          Subject:  
[opendx-users] How can I exclude data points lying outside a  
                                                            sphere?             
                                                   
                                                                                
                                                   
                      02/16/2003 05:59 PM                                       
                                                   
                      Please respond to                                         
                                                   
                      opendx-users                                              
                                                   
                                                                                
                                                   
                                                                                
                                                   




Hi,

I have a set of many data points in a XYZ-rectangular box.
I'm only interested in those data points that are within a
specified radius R from the origin.

The Include tool allows me to exclude data points outside a
certain rectangular box. But that's not what I want.

What can I do, to make data points invalid that lie beyond
a radius R from the origin?

Thanks!
Rob.



Reply via email to