How to determine a point(or a path)  inside a closed path?

I came across such a problem:
      My client requires add a number marks inside a closed path ,and such a closed path is irregular,
My question is, how to ensure a point(or a path) is inside another closed path,and how to calculate this point?
Is there any suite in the SDK to accomplish this function?

haha ,I found a good way to solve this problem,We can use AIPathfinderSuite::DoFrontMinusBackEffect  to determine  whether a path  inside another closed path.

Similar Messages

  • Is it possible to join an open path with a closed path?

    I am using Illustrator to show territorial changes to Germany after World War I.
    My problem is this: I need to join an open path to a closed path.
    With the pencil tool I drew a blue line to illustrate the Rhine river on an SVG map of Weimar Germany.
    I need to connect the river (open path) to Germany's borders (closed path) so that a new closed path is formed: the Rhineland (Weimar Germany west
    of the Rhine).
    I am totally stumped as to how to achieve this. Thank you very much for any help anyone can provide.
    - Nicholas

    Two ways you can make it a Live Paint Group then you actually d not hvve to join it in order to get it to react like a closed path.
    The other way is to the select the portion of the closed path with either the direct select tool or lasso tool and hit Command  C the hit Comand F paste in front and in the same position. then select the end points on one end of both path and hit Command J then do the same for the other ends of the path and now you have a new closed path and the old closed path under it still intact.
    I think the live paint group though will open up a much more powerful workflow for you if you do this type of work often.

  • How to determine termination point of call

    We're using UCCE 7.2 and are moving to 9.0 in a few weeks.  One of the questions that we have had is how to determine the termination point of a call.  I'm looking for a way to report through either the HDS or call manager whether the agent or the caller disconnected the call.
    Does anyone know if there is a way to identify this in any of the reporting databases available?
    Thanks,
    Randy Black

    I should probably provide a bit more detail about what I'm trying to determine.  We have two different situations:
    1: Customer reports that a call was disconnected.  Agent reports that they did not hang up on the customer and we need to determine if the call was terminated by the agent or the customer.
    2: We offer a post-call survey using a custom CVP application.  Customers opt in to the survey at the beginning of the CVP call flow, the customer makes their IVR selections and are routed to an agent.  Once the agent disconnects, the customer is routed back to CVP to take the post-call survey.  We have quite a few customers that opt in for the survey, but never complete the survey.  We know that some number of these are not taken because the customer forgets or changes their mind, but suspect that number of these are not completed because the agent does not disconnect the call so the customer is never routed to the survey.  We have a policy in place that requires the agent to disconnect the call after the call is completed, but want to determine what agents are not disconnecting the calls.
    I'm looking to determine agent vs. customer termination on all calls so we can confirm who disconnected.
    I've looked at the records in the Termination Call Detail on the HDS, but have been told that this is not a great way to identify this information so I'm looking for any alternatives that are more accurate for this reporting.
    Thanks,
    Randy

  • How to determine some points?

    Hallo,
    i need to calculate the bandwidth of a filter. so i need to determine the point (nr1) and then the corresponding point (nr2) to determine the bandwidth.
    How can i find firstly the value of the point (nr1) and then the corresponding point (nr2) as it shown in the attached file?
    thanks
    Attachments:
    Untitled-1 copy.jpg ‏67 KB

    Well, the problem is that your x-axis is lograrithmic and the values are not equally spaced.
     I assume you want the point where the line first drops below a certain db and then get the x-value there.
    I would multiply the Y data by -1 and take the log of x and use threshold 1D array. For the array input make an array of clusters, each element containing [-Y, log(x)]. Search for "(-1)* threshold" and youl'll get the corresponding log(x) from which you can calculate the desired x.
    Check the online help for "threshold array" for the allowed inputs.
    Please attach some data if you want more detailed help.
    (If you have significanlty more noise, you might want to fit the data to a mathematical model using e.g. levenberg-Marquardt.)
    LabVIEW Champion . Do more with less code and in less time .

  • Overlapping polygon and how to determine the points

    I have a larger footprint polygon/table called A and a sub-polygon/table called B.
    I need to identify which is polygon A and which is polygon B because they overlap with each other.
    And I need to identify all the point that falls within A and B.
    which means A = A and B = A+B and the other points that do notfall within A and B will be null.
    How do I start this assignment?
    I was thinking
    alter table A
    add  (ID varchar( 50 BYTE)) ;
    update A
    set ID = 'larger';
    --TO do a point in Polygon
    PROCEDURE point_polyA
    IS
         proc_name varchar2(50);
    BEGIN
         proc_name := 'point_polyA';
         add_log(proc_name,'Start processingpolyA');
         COMMIT;
         FOR x IN (SELECT id, geoloc
                       FROM A)
         LOOP     
              FOR y IN (SELECT a.*
                            FROM point
                           WHERE sdo_filter (A.geoloc, x.geoloc) = 'TRUE')
              LOOP               
                   IF sdo_geom.relate(y.geoloc, 'ANYINTERACT', x.geoloc, 5) = 'TRUE' THEN
                        INSERT INTO point_polyA ( id)
                             VALUES ( x.id);
                   END IF;          
              END LOOP;
              COMMIT;
         END LOOP;
         add_log(proc_name,'Finish!');
         COMMIT;
         EXCEPTION
                 WHEN OTHERS THEN
                    add_log(proc_name, substr(SQLCODE||' '||SQLERRM, 1, 199));
         COMMIT;Do the same for B then
    select ID
    from A,B
    where sdo_relate(A.geoloc,B.geoloc,'mask = contains') = 'TRUE';Message was edited by:
    CrackerJack

    Hi,
    this
    rownum<2
    making sure that only the one clicked polygon is rendered/displayed
    (pls see the [image of the screen |http://bp0.blogger.com/_8PXbvmaOB6M/SEe0rNCz4nI/AAAAAAAAAWo/lOHcLjbIz-U/s1600-h/verschneiden_snap3.png] )
    i.e. you click on the polygon of the area (county) and get the FOI as per Parameter 1 (which are the records/FOI contained in the first table "DEKUNDEN" = customers)
    in ur above code you will need to say:
    (b.geoloc, :1)
    recommend to firstly try to achieve a result with the delivered MVDEMO data.
    Then the SQL of the theme will look as follows:
    select a.location, a.name,
    a.city, a.sales from customers a where sdo_relate(a.location, (select
    geom from counties b where sdo_contains(b.geom, :1)='TRUE' and
    rownum&lt;2), 'mask=ANYINTERACT')='TRUE'
    re) attributes for both points and polygon
    --> for the points (customer table/theme) usually you get an Infowindow automatically for the theme "customers" for the "Info columns" you have defined in the ADVANCED Tab of the theme in the Mapbuilder.
    --> for the polygon you'll have to assign an info window on "mouse_right_cklick" as the "mouse-click" (left) has already been used for selelcting the polygon.
    and lastly I am not dealing with a webservice - just 2 tables: "customers" (with the POI - points) and "counties" (the polygon - area) from the MVDEMO example data.
    Hope that helped and I did not make more complicated - sorry - but it is quite complex (;-).
    Bernhard
    Edited by: BernhardFW on Aug 25, 2008 1:30 PM

  • How to determine the Current Domain name from inside an Mbean / Java Prog

    We have registered an Application Defined MBean. The mbean has several APIs. Now we want to determine the currrent domain using some java api inside this Mbean. Similarly we have deployed a Webapp/Service in the Weblogic domain. And inside this app we need to know the current Domain. Is there any java api that will give this runtime information.
    Note: We are the MBean providers not clients who can connect to the WLS (using user/passwd) and get the domain MBean and determine the domain.
    Fusion Applcore

    Not sure if this will address exactly what you are looking to do, but I use this technique all the time to access runtime JMX information from within a Weblogic deployed application without having to pass authentication credentials. You are limited, however, to what you can access via the RuntimeServiceMBean. The example class below shows how to retrieve the domain name and managed server name from within a Weblogic deployed application (System.out calls only included for simplicity in this example):
    package com.yourcompany.jmx;
    import javax.management.MBeanServer;
    import javax.management.ObjectName;
    import javax.naming.InitialContext;
    public class JMXWrapper {
        private static JMXWrapper instance = new JMXWrapper();
        private String domainName;
        private String managedServerName;
        private JMXWrapper() {
        public static JMXWrapper getInstance() {
            return instance;
        public String getDomainName() {
            if (domainName == null) {
                try {
                    MBeanServer server = getMBeanServer();
                    ObjectName domainMBean = (ObjectName) server.getAttribute(getRuntimeService(), "DomainConfiguration");
                    domainName = (String) server.getAttribute(domainMBean, "Name");
                } catch (Exception ex) {
                    System.out.println("Caught Exception: " + ex);
                    ex.printStackTrace();
            return domainName;
        public String getManagedServerName() {
            if (managedServerName == null) {
                try {
                    managedServerName = (String) getMBeanServer().getAttribute(getRuntimeService(), "ServerName");
                } catch (Exception ex) {
                    System.out.println("Caught Exception: " + ex);
                    ex.printStackTrace();
            return managedServerName;
        private MBeanServer getMBeanServer() {
            MBeanServer retval = null;
            InitialContext ctx = null;
            try {
                //fetch the RuntimeServerMBean using the
                //MBeanServer interface
                ctx = new InitialContext();
                retval = (MBeanServer) ctx.lookup("java:comp/env/jmx/runtime");
            } catch (Exception ex) {
                System.out.println("Caught Exception: " + ex);
                ex.printStackTrace();
            } finally {
                if (ctx != null) {
                    try {
                        ctx.close();
                    } catch (Exception dontCare) {
            return retval;
        private ObjectName getRuntimeService() {
            ObjectName retval = null;
            try {
                retval = new ObjectName("com.bea:Name=RuntimeService,Type=weblogic.management.mbeanservers.runtime.RuntimeServiceMBean");
            } catch (Exception ex) {
                System.out.println("Caught Exception: " + ex);
                ex.printStackTrace();
            return retval;
    }I then created a simply test JSP to call the JMXWrapper singleton and display retrieved values:
    <%@page contentType="text/html" pageEncoding="UTF-8"%>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
       "http://www.w3.org/TR/html4/loose.dtd">
    <%@ page import="com.yourcompany.jmx.JMXWrapper"%>
    <%
       JMXWrapper jmx = JMXWrapper.getInstance();
       String domainName = jmx.getDomainName();
       String managedServerName = jmx.getManagedServerName();
    %>
    <html>
        <head>
            <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
            <title>JMX Wrapper Test</title>
        </head>
        <body>
            <h2>Domain Name: <%= domainName %></h2>
            <h2>Managed Server Name: <%= managedServerName %></h2>
        </body>
    </html>

  • How to determine the mount point for directory /tmp ?

    Folks,
    Hello. I am installing Oracle 11gR2 RAC using 2 Virtual Machines (rac1 and rac2 whose OS are Oracle Linux 5.6) in VMPlayer and according to the tutorial
    http://appsdbaworkshop.blogspot.com/2011/10/11gr2-rac-on-linux-56-using-vmware.html
    I am installing Grid infrastructure. I am on step 7 of 10 (verify Grid installation enviroment) and get this error:
    "Free Space: Rac2: /tmp"
    Cause: Could not determine mount point for location specified.
    Action: Ensure location specified is available.
    Expected value: n/a
    Actual value: n/a
    I have checked the free space using the command:
    [root@Rac2 /]# df -k /tmp
    Output:
    Filesystem     1k-blocks     used     Available     Use%     Mounted on
    /dev/sda1     30470144     7826952     21070432     28%     /
    As you see above, the free space is enough, but could not determine mount point for /tmp.
    Do any folk understand how to determine the mount point for directory /tmp ?
    Thanks.

    I have just checked "/home/oracle/.bash_profile". But in my computer, there is no "oracle" under /home directory.Is this your first time Linux and Oracle installation? I had a brief look at your referenced link. The reason why you do not find a "oracle" user is because the instructions use "ora11g" instead, which, btw, is not standard. The directories of your installation and your installation source can be somewhat different from known standards and you will have to adjust it to your system.
    My best guess is that you have either missed something in the instructions or you need to ask the author of the blog what is wrong. The chance to find someone here who has experience with these custom instructions is probably unlikely.
    I suggest you try to locate the cluster verification tool, which should be in the bin directory of your grid installation. Alternatively you might want to check the RAC, ASM & Clusterware Installation forum: RAC, ASM & Clusterware Installation

  • How to determine the path of the jar file cache of javawebstart?

    Hello, I need to know how to determine where the java web start application
    file jar cache is stored on windows system hard drive.
    I would have launch of the inner processes
    I have need to know the path of file jar .
    example if my application is myAppliation.jar
    in code generic class of myAppliation.jar i have the command runtime
    String strCmd =
    System.getProperties().getProperty("java.home") + "\\bin\\java" +
         " -cp " +
         System.getProperties().getProperty("java.class.path") + ";"
         + " anotherClass.class ";
    Runtime.getRuntime().exec(strCmd);
    the anotherClass.class has need
    of the contained library in myAppliation.jar.

    Thanks i have tried this metod and function
    java.net.URL resource = classLoader.getResource("myResource");
    if (resource != null) {
    String s = resource.toString();
    if (s.startsWith("jar:")) {
    int index = s.indexOf("!");
    if (index > 4) {
    String fileurl = s.substring(4, index);
    if (fileurl.startsWith("file:")) {
    String path = fileurl.substring(5);
    // now path is the path to the jar file in the cache containing the resource
    System.out.println("file jar: "+path);
    }

  • How to determine the length of a curved path in illustrator CS2

    how to determine the length of a curved path in illustrator CS2?

    bornfree,
    The free Patharea/Pathlength Filters from Telegraphics is your friend (the former gives you both area and length, both in different units):
    Telegraphics - Free plugins for Photoshop & Illustrator...and other software

  • How to determine actual path/location of Outlook Public Folder favorite?

    I have several end users that use the Public Folder favorite system in Outlook. Our Public Folder structure is very large and messy which makes finding these favorites difficult to find. When I go to the properties of the favorited folder, it does not find
    the actual path.
    Is there a PowerShell command or some tool that will allow me to determine the path?
    Thanks in advance,

    Hi,
    Public Folders can be set as a Favorite Folder at 2 levels in Outlook. one within the Public Folder structure and one within the Navigation Pane:
    http://www.msoutlook.info/question/281
    Seems you are using the favorite in the Public Folder structure. We can find the folder path by right-clicking and select Properties, and then select
    Summary tab. Now you can see the path from the Folder Path field:
    Hope this helps.
    Best Regards,
    Steve Fan
    TechNet Community Support

  • C Programming: How can we get the filesystem name for a given file-path?

    C Programming: How can we get the filesystem name for a given file-path?
    Say I have a filepath=/mnt1/file1
    Using some OS API like stat, can I get the Filesystem /mnt ?
    Thanks in advance,
    -V

    Enter the command up to the point of entering the file path and add a space, then drag the file into the terminal window. It will fill out the path.
    If you need to go further into the contents of the Application package, you can continue with /Contents...
    Another way is to start typing and then hit Tab to auto-complete. It will stop where it can't determine the next letter.
    So, type /App tab and it will fill in /Applications. Type a / and start with the name of the app, then tab and it should complete. Continue till you have the correct path.
    Spaces will be replaced with \<space>, so, App Store would end up as /Applications/App\ Store.app

  • How to determine logical database in a program?

    Hello guys!
    How to determine logical database in a program on Eclipse?
    I have not found any options:
    Thanks!

    Welcome to SDN
    Check the table RSOSFIELDMAP
    Assign points if useful
    Regards
    N Ganesh

  • How to determine IE type(32 bit or 64 bit) in a task sequence while updating Java

    How to determine IE type(32 bit or 64 bit) in a task sequence
    Hi,
    Currently i have to update new version of Java after removing all the previous existing version of Java by using TS in SCCM 2007.
    we have both 32 bit and 64 bit browser in the environment. I am stucked in determining whether the browser is of 32 bit or 64 bit.
    How to determine IE type(32 bit or 64 bit) in a task sequence so that respective java can be installed for that IE browser.
    will highly appreciate quick response.
    Thanks in advance.
    Daya

    But you also need to install JRE x86 on x64 systems, since most people actually use the 32bit browsers on x64 systems.
    The detection logic is actually pretty simple -- just check the right registry hive to find the installation location of the BIN\JAVA.DLL. Both pathnames are stored in HKLM\Software\JavaSoft\Java Runtime Environment\1.7 in the registry value "JavaHome",
    but the x86 path is stored in the 32-bit hive and the x64 path is stored in the 64-bit hive.
    Lawrence Garvin, M.S., MCSA, MCITP:EA, MCDBA
    SolarWinds Head Geek
    Microsoft MVP - Software Packaging, Deployment & Servicing (2005-2014)
    My MVP Profile: http://mvp.microsoft.com/en-us/mvp/Lawrence%20R%20Garvin-32101
    http://www.solarwinds.com/gotmicrosoft
    The views expressed on this post are mine and do not necessarily reflect the views of SolarWinds.

  • How to determine the Docid

    I would like to open a web intelligence detail report I created from within an xcelsius dashboard.
    However, I can't use the FS command button or URL buton, because I don't know how to determine what the document id for the webi report is.  I've gotton lost wandering around the business objects website.  Since our company is new to BOBJ, no one on the project team is quite sure how to do this either.
    Can anyone point me in the right direction.  I'm not a .net  or web services developer.  I just create universes, webi reports and dashboards.
    Thanks.

    I can provide you with this tip:
    To obtain the document ID, navigate to the document in InfoView, hover your mouse over the document name hyperlink, and look for the ID number in the browser's status bar. You can also obtain the document ID from the Central Management Console.

  • How to determine the maximum allowable length of a filename for Window ?

    Hi all,
    Could I know how to determine the allowable file length (the length of the absolute path) for a file in Window environment?
    Due to some reason, I generated a zip file with a very long filename ( > 170) and put in a folder(the length of the folder path around 90). The length of the absolute path is around 260.
    I used FileOutputStream with the ZipOutputStream to write out the zip file. Everything is working fine while i generating the zip file.
    However, while i try to extract some files from the zip file i just created, i encountered the error
    java.util.zip.ZipException The filename is too long.
    I am using the class ZipFile to extract the files from the zip file like the following
    String absPath = "A very long filepath which exceed 260";
    ZipFile zipF = new ZipFile(absPath);  //<-- here is the root causeIs it possible to pre-determine the maximum allowable filepath length prior i generate the zip file ? This is weird since i got no error while i created the zip file, but have problem in extracting the zip file ......
    Thanks

    Assuming you could determine the max, what would you do about it? I'd say you should just assume it will be successful, but accommodate (handle) the possible exception gracefully. Either way you're going to have to handle it as an "exception", whether you "catch" an actual "Exception" object and deal with that, or manually deal with the length exceeding the max.

Maybe you are looking for

  • Error In BDC when uploading for tcode FS00

    Hi Experts,   problem in uploading BDC session method for tcode FS00. when i run my program it is giving apopup error message that (BDC_INSERT screen invalid) but my screen number is correct. i have checked this in recording program also. THere are s

  • Sad faced smiley on my Ipod Appears and telling me to go to Ipod.support...

    This is something i see for the first time, I have a sad faced Ipod on the screen of my ipod with an exclamation point that appears on the screen and its telling me to go to this site. Please HELP.....

  • Show date list

    Hi I am trying to show a date list in column. I have got a count of jobs opened, however all of the jobs are grouped into one count. I need a count of the 1st then the 2nd etc. EG I am getting.. Opened Closed Movement 3 0 -3 I need Date Opened Closed

  • Any Expert on Date and Calendar????

    Once I set my own calendar .. why it's not keeping my calendar and printing the date and time onwards from my set date time... I just print only one time the date/time but later in my thread, it prints OS date and time....? Any Ideas?? import java.ut

  • HT1725 Dears :

    Hello Dears : I just have problem that i tried to update all the applications  on my device & all this applications is free while when i tried to update them or trying to download new application free , its gives me that i have no ballance on my cred