Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #8547 > unrolled thread
| Started by | Ted Sariyski <tsariysk@craft-tech.com> |
|---|---|
| First post | 2012-02-15 09:43 +0000 |
| Last post | 2012-02-15 09:43 +0000 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.soft-sys.math.mathematica
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
How to select only points which are inside a domain (cont) Ted Sariyski <tsariysk@craft-tech.com> - 2012-02-15 09:43 +0000
| From | Ted Sariyski <tsariysk@craft-tech.com> |
|---|---|
| Date | 2012-02-15 09:43 +0000 |
| Subject | How to select only points which are inside a domain (cont) |
| Message-ID | <jhfuno$sm0$1@smc.vnet.net> |
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
Back to top | Article view | comp.soft-sys.math.mathematica
csiph-web