MathGroup Archive 2012

[Date Index] [Thread Index] [Author Index]

Search the Archive

How to select only points which are inside a domain (cont)

  • To: mathgroup at smc.vnet.net
  • Subject: [mg124971] How to select only points which are inside a domain (cont)
  • From: Ted Sariyski <tsariysk at craft-tech.com>
  • Date: Wed, 15 Feb 2012 04:41:45 -0500 (EST)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com
  • References: <201202091034.FAA18221@smc.vnet.net> <201202101057.FAA00780@smc.vnet.net> <4F3AD278.4050002@craft-tech.com>

This works, but I think there is a better way.
Thanks,
--Ted

Point @@@
  Select[List @@@
    pointsK[1], (#[[1, 1]] >= wMin && #[[1, 1]] < wMax && #[[1, 2]] >=
       tMin && #[[1, 2]] < tMax ) &]

On 02/14/2012 04:30 PM, Ted Sariyski wrote:
> Hi,
> I have a list of points: pntL={Point[x1,y1,z1],...}. How to select 
> only points which are inside a domain {xmin,xmax,ymin,ymax,zmin,zmax}?
> Thanks in advance,
> --Ted




  • Prev by Date: How to select only points which are inside a domain
  • Next by Date: Re: question about NIntegrate
  • Previous by thread: How to select only points which are inside a domain
  • Next by thread: Re: How to select only points which are inside a domain