COMPGROUPS.NET | Search | Post Question | Groups | Stream | About | Register

### inside or outside of a polygon

• Email
• Follow

```Hi all,

do you know of any solutions within FMP to calculated whether a records
value (x,y coordinates) is inside or outside a given polynomial shape?

It's straight forward to check for min/max values, but it seems to be
rather complicated to mimic an inside/outside calculation within FMP!?

Thanks,
Martin
```
 0
Reply t-usenet (183) 4/14/2011 8:40:03 AM

See related articles to this posting

```Hi Martin,

Just my two cents....

any true polynomial shape can be deconstructed into basic shapes. Squares
and triangles.
for any separate shape you will have all corner points
You would have to establish outside boundary of each shape
Then you could see if a point is out, on or in the shape.

But I think it would be a hell of a programming job to accomplish this, and
perhaps would look for an outside way to generate required result.

perhaps the customfunction at http://www.briandunning.com/cf/1260 can be of
any help?
Also the FMP function Combination(setSize;numberOfChoices) migth be usefull
To visually reproduce in/out you migth plot a radar-graph with the xmChart
plug in, and visually verify the result
also: http://polynomial-regression.software.informer.com/
also http://www.fusioncharts.com/PowerCharts/ has a plug-in to work with
plynomial graphs, but these return only visual results. I gather you want a
True/False

you aren't trying to solve a 'does it fit' problem are you? (see
http://www.dbmonster.com/Uwe/Forum.aspx/filemaker/10083/Math-Problem-Maximizing-Number-of-3D-Objects-in-a-Container)

Well it has become two and a half cents rather.......

Hou je goed / keep well,

Ursus

"MartinĪ¤rautmann"  schreef in bericht

Hi all,

do you know of any solutions within FMP to calculated whether a records
value (x,y coordinates) is inside or outside a given polynomial shape?

It's straight forward to check for min/max values, but it seems to be
rather complicated to mimic an inside/outside calculation within FMP!?

Thanks,
Martin

```
 0

```On Thu, 14 Apr 2011 11:31:01 +0200, <Ursus> wrote:
>  any true polynomial shape can be deconstructed into basic shapes. Squares
>  and triangles.
>  for any separate shape you will have all corner points
>  You would have to establish outside boundary of each shape
>  Then you could see if a point is out, on or in the shape.

Yes, and this might be the most simple solution for FMP.

>  But I think it would be a hell of a programming job to accomplish this, and
>  perhaps would look for an outside way to generate required result.

There are e.g. proper SQL or Perl solutions - but I wonder whether
there's a good choice to do it within FMP directly.

>  perhaps the customfunction at http://www.briandunning.com/cf/1260 can be of
>  any help?

Thanks, I'll have a look

>  Also the FMP function Combination(setSize;numberOfChoices) migth be usefull

I don't have any idea yet how to profit from that.

>  To visually reproduce in/out you migth plot a radar-graph with the xmChart
>  plug in, and visually verify the result
>  also: http://polynomial-regression.software.informer.com/
>  also http://www.fusioncharts.com/PowerCharts/ has a plug-in to work with
>  plynomial graphs, but these return only visual results. I gather you want a
>  True/False

I just need true/false, for about two million records (or 20 times that
amount for lines within polynoms) and about 20 000 polynoms with about
100 points for polynom boundaries.

>  you aren't trying to solve a 'does it fit' problem are you? (see
>  http://www.dbmonster.com/Uwe/Forum.aspx/filemaker/10083/Math-Problem-Maximizing-Number-of-3D-Objects-in-a-Container)

No - I just want to identify whether a given x/y value is within poly 1,
2, 3 or 4....

Thanks,
Martin
```
 0
Reply t-usenet (183) 4/14/2011 4:31:02 PM

2 Replies
67 Views

Similar Articles

12/13/2013 1:33:11 PM
[PageSpeed]

Similar Artilces:

Q: Code to determine if point is inside or outside polygon.
I have a similar situation in which I have contours made up of data points and am using the 'inpolygon' function in a Monte Carlo simulation to determine if the sampled points fall within, on, or outside of the contour. The function works appropriately for points that do fall within and on the contour; however, it also classifies a handful of points as outside of the contour when in fact they are definitely within the contour. Has anyone experienced this before and determined why/a solution? Many thanks. Parker S. ...

help with pix inside->outside + dmz->outside + inside->outside->dmz
Hi everyone, I was wondering if anyone has configured a pix in the following manner. I have a single static routable ip with another /29 routed to it. I have this ip setup as the ip address on the outside interface. The inside is 192.168.0.* and the dmz is 10.10.10.*. I have the 192.168.0.* routing over my single static ip (nat). (this works). I also have the dmz functioning as a set of static routes from my /29 to the 10.10.10.* range (that works). Here's where the problem is: i am unable to ping/communicate with the / 29 from the inside interface, even though both the dmz and the in...

what does this mean ? (inside,outside)
Hey all. Just have a quick question. What is (inside,outside) in a command line like this? static (inside,outside) tcp interface ...... ?? Regards Henrik In article <1159808805.059231.146990@i42g2000cwa.googlegroups.com>, <henrikcj@gmail.com> wrote: >Just have a quick question. >What is (inside,outside) in a command line like this? >static (inside,outside) tcp interface ...... ?? Those are interface names as given by nameif commands. The meaning is that if a packet arrives at the interface named first, going to the interface named second, and the packet matches t...

Static NATfrom inside to outside
Hi, I need help in PIX configuration. Actually i had testing tool BUGZILLA in one of my servers and want to make it public so that everyone can use it For this i have one public IP and want to do a static nat on it. I want if anyone open link "http://public ip /BUGTEST" it will automayically redirect to my server Is that posible? Can anyone tell me the correct configuration please. Thanks CK-NET In article <1142494303.134589.109330@j33g2000cwa.googlegroups.com>, NETADMIN <chetan.kamra@gmail.com> wrote: >I need help in PIX configuration. >For this i have on...

PIX 515 Inside -> Outside
Hello, I have the following situation: A PIX running with inside, dmz & outside. The dmz has a few servers in it which will grow. Now i'm trying to nat a single machine from the inside to the outside. Internet works fine, but not when i try to reach a server in the dmz via the outside address. When i run a tcpdump i see a packet arrive at the dmz server and a return packet to the outside interface of the PIX, but it seems to end there. Any help would be appreciated. Regards, Guido Bakker p.s. : Saved : Written by enable_15 at 16:11:54.577 CEST Thu Oct 30 2003 PIX Version 6.3(3) ...

declare variable inside or outside block?
Hi, I just asked myself, whether it is better to declare a variable inside or outside a block, if you only want to use it inside the block; I always do it like this: String foo; while (true) { foo = new String(); } Guess that's better than: while (true) { String foo = new String(); } In the second example i declare the variable String foo every time the loop is repeated - guess that's the worse solution, isn't it? Well, I'd be interested in your comments on this, thanks in advance, Angus "Angus Parvis" <angusparvis@hotmail.com> schreef in bericht ...

Access outside address from the inside (howto)
At work I access the internet through a Cisco ASA 5510. We also have a webserver at the same subnet as myself, that is visible from the outside (the internet). However it is not visible from the inside. I have to use some internal 192.168.1.* address to access it from the inside. But all our DNS addresses points to our external IP visible only from the outside. Is is possible to configure an Cisco ASA 5510 to access the outside address from the inside? Our network department has not been able to make it work. Thanks in advance /erik martino On Mon, 7 Apr 2008, Erik Martino wrote: > At...

declaration inside vs. outside the loop
Hi which version is most efficient in principle? **************** int res; for( int i=0; i < 10000; i++ ) { res = i * 5; // do somethings. } *************** for( int i=0; i < 10000; i++ ) { int res = i * 5; // do somethings. } **************** thanks Gary Wessle wrote: > which version is most efficient in principle? > > **************** > int res; > for( int i=0; i < 10000; i++ ) > { > res = i * 5; > // do somethings. > } > *************** > for( int i=0; i < 10000; i++ ) > { > int res = i * 5; > // do somethings. > } > **...

calloc working inside the for loop but not outside
Can someone kindly point out to me why the following corners = (CvPoint2D32f **) calloc (ncams, sizeof (CvPoint2D32f*)); for (i=0; i<ncams; i++) { assert (corners[i] = (CvPoint2D32f *) calloc (board_corners, sizeof (CvPoint2D32f))); } On Nov 18, 4:43=A0pm, Harshith <harshi....@gmail.com> wrote: > Can someone kindly point out to me why the following > > =A0 =A0 corners =3D (CvPoint2D32f **) calloc (ncams, sizeof > (CvPoint2D32f*)); > =A0 =A0 for (i=3D0; i<ncams; i++) { > =A0 =A0 =A0 =A0 assert (corners[i] =3D (CvPoint2D32f *) cal...

ip nat inside and outside at the same time.
Ok, my goal is to do something like redirection. I mean I would like to use a Cisco router as a redirecter that forwards all traffic arriving on a specific address to another host. Please find the most important statements of the configuration on rtr A (got from scratch) below: interface Vlan1 ip address 192.168.250.1 255.255.255.0 ip nat outside ip virtual-reassembly ip tcp adjust-mss 1452 ip route 0.0.0.0 0.0.0.0 192.168.250.3 ip nat inside source static 192.168.250.3 10.10.10.10 ip nat outside source static 192.168.200.1 192.168.250.1 The topology is as follows router A (Vl...

A Spectrum 16K outside but 48k inside
Something to scribble about: Could you figure my surprise when I bought one little rubber key'd Spectrum 16k (apparently by the rounded stick in the bottom indicating its capacity) in one street market and after opening to check it out I realised it was a complete 48k Issue 2? Cost me less than 2 Pounds (exactly for me 3 Euro as I bought it here in my Spanish hometown) and the only bad thing is, as usual in these cases, the keyboard membrane. For this, I wonder if it's worth these purchases instead being puzzled and totally discouraged with eBay. Greetings, RDisky ---------------...

Video: Outside and inside the new HP50g
Watch how to remove the screen cover to open the hp50g without damaging the unit on the following video: http://www.youtube.com/watch?v=z6GB2gmq1yE Thanks to Joe Horn for the info about opening the calculator by removing screen cover. I dont fully remove the back cover because there are many wires connected to the main board (buzzer, batts, capacitor, etc). "Avatar_e" <erwinried@gmail.com> wrote in message news:1156580307.869833.266100@74g2000cwt.googlegroups.com... > Watch how to remove the screen cover to open the hp50g without damaging > the unit on the following ...

point inside/outside of 3D object.
I want to determine whether a given point is inside or outside of 3D object. There have been some suggestions on this discussion group, so I have tried IDLanROI::ContainsPoints. It works for 2D case, but not for 3D. Assuming a tetrahedron, its coordinates for 4 points are (1,0,0) (0,1,0) (-1,0,0) (0,0,1) px = [1., 0., -1., 0.] py = [0.,1.,0.,0.] pz = [0.,0.,0.,1.] object = Obj_New('IDLanROI', px, py, pz) print,object->containspoints(0.1,0.1,0.1) It prints 0, Exterior, although (0.1,0.1,0.1) is inside of tetrahedron. My questions are 1. I guess that a method defining a tetrahedr...

Flow Inside-outside change only destination port
Hello everybody out there using Pixes I have a question regarding the change of destination port on PIX My intention is to chage from: SRC 10.50.50.13:7689 DEST 192.90.90.90:10000 TO SRC 10.50.50.13:7689 DEST 192.90.90.90:443 The flow is from inside->outside, I tried using and static that look like this static (outside, inside) tcp 192.90.90.90 10000 192.90.90.90 443 netmask 255.255.255.255 But I realize that the static conversion in this flow try to change the source of the packet not the destination and what Im really doing with the sentence above is saying something like "e...

scope, modyfing outside object from inside the method
Hello. I thought I understand this, but apparently I don't :(. I'm missing something very basic and fundamental here, so redirecting me to the related documentation is welcomed as well as providing working code :). Trivial example which works as expected: >>> x = {'a':123, 'b': 456} >>> y = x >>> x['a']=890 >>> y {'a': 890, 'b': 456} Now, let's try something more sophisticated (it's not real world example, I've made up the problem which I think illustrates my issue). Let's say I've got ...

Ping PIX inside interface from outside host
Hi 1. Is there a way to make PIX inside interface pingable from an outside host? 2. If the answer to question 1 is yes, how can we make inside interface pingable in a IPSEC VPN tunnel from a remote host? Thanks. Al Al wrote: > Hi > > 1. Is there a way to make PIX inside interface pingable from an outside > host? > 2. If the answer to question 1 is yes, how can we make inside interface > pingable in a IPSEC VPN tunnel from a remote host? > > Thanks. > Al > > You can do it only through an ipsec tunnel as far as I know. To do so, management-access i...

Extract points (on a sphere) inside polygon. HELP!!!
Hi everyone, I have created a sphere in Matlab and drawn some points on it. I am trying to extract some points directly from the sphere by drawing a polygon around those points. Unfortunately I cannot understand how to this. Can anybody help me? Many Thanks Regards Alex In article <5525763.1178619749040.JavaMail.jakarta@nitrogen.mathforum.org>, General <mammasis82@hotmail.com> wrote: > Hi everyone, > > I have created a sphere in Matlab and drawn some points on it. I am trying to extract some points directly from the sphere by drawing a polygon around those points. U...

PIX 7.0 ACL inside/outside help !
Hi all, I've got a question regarding applying access-lists to inside or outside interface. Can someone please explain if the following set of statements is valid ? access-list acloutside extended permit ip any any access-group acloutside in interface outside does those statements mean all outside traffic are allowed to flow into inside interface and hence make the network vulnerable ? Should it be instead access-group acloutside in interface inside ? Thank you * mehak327@googlemail.com wrote: > access-list acloutside extended permit ip any any > access-group acloutside in in...

Inside interface VPN to outside interface. loop-back?
Hello, When users leave the LAN they can VPN into the network and do what they need. Well I have another interface and its called WIRELESS. They have no access to the inside LAN interface when on the wireless. However when they VPN they can gain access to the LAN resources. I want to allow the wireless hosts to connect via VPN to the outside interface (public ip address). So more or less the traffic goes out and comes back in. Like allowing loop-back traffic. Currently when users are local and using the wireless I allow them to VPN to the wireless interface (wireless interface on ASA) and ac...

included code inside class, code needed outside
In Router, in a method, in an included file is the controller code. In the model and in the view, I need access to the Controller's properties and methods. In Router, in an other method, I want to return a controller object to the model and the view. What now? Delirium tremens wrote: > In Router, in a method, in an included file is the controller code. In > the model and in the view, I need access to the Controller's > properties and methods. In Router, in an other method, I want to > return a controller object to the model and the view. What now? I'm not sure what yo...