Maximum and 2nd longest diameters of polygon

I have a polygon in the form of a Point[] of Cartesian (x, y) pairs� for the sake of argument lets just say it�s a simple closed loop and no crossing sections and I would like to calculate the second longest perpendicular diameter based on the maximum diameter which I have obtained by the following code:
    public boolean longestDiameter(Point[] points) {
        Point currentPoint;
        Point focusPoint;
        double maxDistance = 0.0;
        double currentDistance = 0.0;
        boolean contains = false;
        Line2D.Double diameter;
        for(int i = 0; i < points.length; i++) {
            focusPoint = points;
for(int j = 0; j < points.length; j++) {
currentPoint = points[j];
currentDistance = focusPoint.distance(currentPoint);
if(!focusPoint.equals(currentPoint)) {
diameter = new Line2D.Double(focusPoint, currentPoint);
// System.out.println("Current Point: X " + currentPoint.getX() + " Y " + currentPoint.getY());
// System.out.println("Diameter Points: X1 " + diameter.getX1() + " Y1 " + diameter.getY1() +
// " X2 " + diameter.getX2() + " Y2 " + diameter.getY2());
// contains = checkLineContainment(diameter, points);
// contains = checkLineContainment(getLinePoints(diameter), points);
contains = true;
if((maxDistance < currentDistance) && contains) {
maxDistance = currentDistance;
longestDiameterPoints[0] = focusPoint;
longestDiameterPoints[1] = currentPoint;
if(maxDistance == 0.0)
return false;
return true;
You�ll notice that I have checkLineContainment as a separate function. Basically I wrote this Boolean function to check to see if the points along the variable called diameter are contained inside the polygon, but I forced it to true for now. I also wrote a getLinePoints method because to my knowledge JDK 1.4.1 doesn�t have a built in iterator which will provide a point by point array of the individual points on a line:
Its pretty long winded but it accounts for all possible slopes that you might expect, depending on where the two points being compared lie in relation to one another. This should provide me with a point by point vector which I can then use the opposite inverse slope of the maximum line to proceed in my calculation of the second longest diameter but it doesn�t.
    // Gets the integer line points from a line and stores them in a vector
    public Vector getLinePoints(Line2D.Double line) {
        Vector linePoints = new Vector();
        Point2D startPoint = line.getP1();
        Point2D endPoint = line.getP2();
        Point2D currentPoint = startPoint;
        double deltaY = (endPoint.getY() - startPoint.getY());
        double deltaX = (endPoint.getX() - startPoint.getX());
        double slope = 0.0;
        if(deltaX != 0) {
            slope = deltaY / deltaX;
            System.out.println("Slope: " + slope);
        double b = (startPoint.getY() - slope*startPoint.getX());
        while(!currentPoint.equals(endPoint)) {
            System.out.println("CurrentPoint X: " + currentPoint.getX() + " Y: " + currentPoint.getY());
            System.out.println("StartPoint X: " + startPoint.getX() + " Y: " + startPoint.getY());
            System.out.println("EndPoint X: " + endPoint.getX() + " Y: " + endPoint.getY());
            // Positive Slope
            if((startPoint.getX() > endPoint.getX()) &
                 (startPoint.getY() < endPoint.getY())) {
                  System.out.println("Positive");
                  double y = (slope*(currentPoint.getX()-1)+b);
//                  System.out.println("Y=" + slope*(currentPoint.getX()-1)+b);
                  System.out.println("Y=" + y);
                  currentPoint = new Point((int)currentPoint.getX()-1, (int)roundDouble(y));
            else if((startPoint.getX() < endPoint.getX()) &
                    (startPoint.getY() > endPoint.getY())) {
                System.out.println("Positive");
                double y = (slope*(currentPoint.getX()+1)+b);
//                System.out.println("Y=" + slope*(currentPoint.getX()+1)+b);
                System.out.println("Y=" + y);
                currentPoint = new Point((int)currentPoint.getX()+1, (int)roundDouble(y));
            // Negative Slope
            else if((startPoint.getX() < endPoint.getX()) &
                    (startPoint.getY() < endPoint.getY())) {
                System.out.println("Negative");
                double y = (slope*(currentPoint.getX()+1)+b);
//                System.out.println("Y=" + slope*(currentPoint.getX()+1)+b);
                System.out.println("Y=" + y);
                currentPoint = new Point((int)currentPoint.getX()+1, (int)roundDouble(y));
            else if((startPoint.getX() > endPoint.getX()) &
                    (startPoint.getY() > endPoint.getY())) {
                System.out.println("Negative");
                double y = (slope*(currentPoint.getX()-1)+b);
//                System.out.println("Y=" + slope*(currentPoint.getX()-1)+b);
                System.out.println("Y=" + y);
                currentPoint = new Point((int)currentPoint.getX()-1, (int)roundDouble(y));
            // Horizontal Line
            else if((startPoint.getX() < endPoint.getX()) &
                    (startPoint.getY() == endPoint.getY())) {
                System.out.println("Zero");
                double y = currentPoint.getY();
//                System.out.println("Y=" + slope*(currentPoint.getX()+1)+b);
                System.out.println("Y=" + y);
                currentPoint = new Point((int)currentPoint.getX()+1, (int)roundDouble(y));
            else if((startPoint.getX() > endPoint.getX()) &
                    (startPoint.getY() == endPoint.getY())) {
                System.out.println("Zero");
                double y = currentPoint.getY();
//                System.out.println("Y=" + slope*(currentPoint.getX()-1)+b);
                System.out.println("Y=" + y);
                currentPoint = new Point((int)currentPoint.getX()-1, (int)roundDouble(y));
            // Vertical Line
            else if(deltaX == 0 &&
                    (startPoint.getX() == endPoint.getX() &
                     startPoint.getY() < endPoint.getY()) ) {
                double y = currentPoint.getY()+1;
                System.out.println("Undefinded");
                System.out.println("Y=" + y);
                currentPoint = new Point((int)currentPoint.getX(), (int)roundDouble(y));
            else if(deltaX == 0 &&
                    (startPoint.getX() == endPoint.getX() &
                     startPoint.getY() > endPoint.getY()) ) {
                int y = (int)currentPoint.getY()-1;
                System.out.println("Undefinded");
                System.out.println("Y=" + y);
                currentPoint = new Point((int)currentPoint.getX(), (int)roundDouble(y));
            linePoints.addElement(currentPoint);
        for(int i = 0; i < linePoints.size(); i++) {
            System.out.println("Point @ " + i + " X: " + ((Point2D)linePoints.elementAt(i)).getX() +
                               " Y: " + ((Point2D)linePoints.elementAt(i)).getY() + "\n");
        return linePoints;
    }I was wondering if anyone had any insight on this or had already done something similar.

I was previously replying in the Algorithms forum, so I
didn't see this discussion. (I don't know why the thread
was in two forums; isn't it supposed to be better to
post a link to the other identical thread?)
I have a strong belief that one end of any perpendicular
diameter is a vertex of a polygon. If it joins interior
points of its two end polygon sides, then moving it a
little parallel to itself will give the same length if both
of these sides are parallel, otherwise the length will
increase or decrease depending on the direction. This
can only change at an end point.
A slight twist occurs if moving the line in one direction
causes it to intersect the polygon at more than two points.
But the point of intersection is necessarily a vertex, or
possibly more than one vertex simultaneously. QED.
I was slightly wrong in an earlier reply. I stated that
it's possible for all intersecting lines to meet the
polygon in more than two points. My example was the outline
of a spiral drawn with a thick pen. However, in this case
there are very short diameters that intesect at just two
points.

Similar Messages

  • To run a job on 1st and 2nd week of the month.

    I need to schedule  a job on 1st full week and 2nd full week of the month.  What is the best way to identify the Week and trigger the job?  Any input is appreciated.
    thx
    Jeff

    Hi Jslader,
    I agree with the 1st option of Visu - by calendar.
    For example, assign the CALENDAR parameter to MNTH-12WK (example only) unless there are predecessors of the job you have created.
    Best regards,
    Sev

  • Parts of the 1st and 2nd generation ipod nano's?

    I have a question. Does anyone know if the parts of the 1st and 2nd generation nanos are compatable with each other or are they different.

    no they dont work together

  • I have a ipod nano 1st and 2nd generation and am trying to put music on it but every time windows says one of the usb devices attached to this computer has malufunctioned and windows does not recognize it code 43 can someone help me please

    i have a ipod nano 1st and 2nd generation and am trying to put music on it but every time windows says one of the usb devices attached to this computer has malufunctioned and windows does not recognize it code 43 can someone help me please

    Try putting it into "Disk Mode" http://docs.info.apple.com/article.html?artnum=93651
    Then with it in this mode connect it to the PC and try to run the latest iPod updater to do a restore and update software if you have the option. the latest iPod updater is 2006-03-23 and can be downloaded here http://www.apple.com/ipod/download/

  • My iPods touch 1st and 2nd generation don´t show up anymore in iTunes after upgrade to iTunes 10.5 and MacOsX 10.6.8 Snow. What can I do??

    I was using iPods touch 1st and 2nd generation together with iPod Shuffle 1st generation with inferior versions of iTunes and MacOS X without any problem. After I upgraded to iTunes 10.5 and Mac OS X 10.6.8, the iPod Shuffle still appears in iTunes normally, but the iPods don´t appear. Its not a problem of the USB because because it happens with two different USB cables which worked just fine before. Any idea how I could get the iPods working again?? Thanks a lot!!!

    I have an iPod Touch 2nd Gen, MacOS X 10.6.8 and iTunes 10.5, and my iPod still works when I plug it in.
    So it's not the software, because mine still works. Do your iPods have a lock on them? If so, try unlocking them and then plugging them in, usually when your iPod has a passcode lock it won't show up in iTunes until you unlock it.

  • How to capture the data within the given range of maximum and minimum values ? from csv files

    My requirement,
    1. Here, the user will provide the range like maximum and minimum values, based on this range, the VI should capture the data within the given range. ( from CSV file as attached )
    2. Then VI should calcluate the average value for captured data and export it to excel.
    This is my requirement can anyone help me on this.
    Many thanks in advance
    rc_cks
    Attachments:
    sample_short.csv ‏2439 KB

    Hi,
    Thanks for remnding me. I forgt to attach the VI, 
    Here I am attaching the VI, what I tried. 
    From attached CSV file, I have to find an average value for columns B,C,D,E,F,G,H,I and AJ, AK. ( data range will be defined  by user ), focused only on these columns
    Here, the scope is to calculate an average value for given data range by user as MAX and MIN data.  
    FYI:  I tried manually for two instance i.e column H & I.  As per H column one steady state values from  7500 to 10500 and similarly in I column 7875 to 10050. So, I gave these as a limit to capture and calculate the average value. But unfortunaltely, requirement has been modified as per below requirements.
    More Info on requirement: 
    --> The user will define the range of data by giving some MAXIMUM and MINIMUM values(for above mentioned columns induvidually), then VI should capture          that data range and it has to caculate the average value for that range of data. This is the task I have to complete. 
    --> I am stuck in creating a logic for data capturing for given range of MAX and MIN value from user, 
         Can anyone help me on this. 
    If my explanation is not clear, Please let me know.  
    Many thanks, help mw
    rc
    Attachments:
    VI_rc.vi ‏25 KB
    sample.zip ‏4166 KB

  • 1st and 2nd Gen differences?

    What are the main differences between the 1st and 2nd Gen Touch? I'm getting ready to buy a 32gb Touch, but I can't figure out what is improved on the 2G. If it's nothing major, I'm just going to get a 1G and save $50.

    also, the 1st Gens have old software on them. if you get one you'll have to pay to upgrade to 2.0 and consequential software upgrades.
    external volume buttons, longer battery life, the design is slightly different - described as 'sleek and feeling better in your hand'
    enough reasons i would have thought for you to go the whole hog and get a new one.

  • I have both iPod nano 1st and 2nd generation, neither shows in iTunes since i installed yosemite, Icon shows on mac desktop , with a few empty folders inside

    I have both iPod nano 1st and 2nd Gen . Neither are appearing in iTunes since Ive installed Yosemite, both appear on desktop and iTunes launches when i plug nano in to mac

    Hi Phil.Surf 16,
    Thanks for the question. Based on what you stated, it sounds like the iPod is not in iTunes. I would recommend that you read this article, it may be able to help the issue.
    iPod not appearing in iTunes - Apple Support
    Thanks for using Apple Support Communities.
    Cheers,
    Mario

  • Query  for getting records  max  reported  timestamp and 2nd max report

    query for getting records in between
    max reported timestamp and 2nd max reported timestamp
    HERE IS ALL RESULT SET
    TIME DOMAIN
    30:jun:2006:20:08:45 TOMCAT
    30:jun:2006:20:08:45 TOMCAT
    30:jun:2006:20:07:04 TOMCAT
    30:jun:2006:20:07:04 TOMCAT
    30:jun:2006:20:07:24 TOMCAT
    30:jun:2006:20:07:24 TOMCAT
    30:jun:2006:20:07:45 TOMCAT
    30:jun:2006:20:07:45 TOMCAT
    30:jun:2006:20:08:05 TOMCAT
    30:jun:2006:20:07:04 TOMCAT
    30:jun:2006:20:08:05 TOMCAT
    PD_REPORTED_TIMESTAM PD_USER
    30:jun:2006:20:08:25 TOMCAT
    30:jun:2006:20:08:25 TOMCAT
    30:jun:2006:20:08:45 TOMCAT
    30:jun:2006:20:08:45 TOMCAT
    30:jun:2006:20:07:24 TOMCAT
    30:jun:2006:20:07:04 TOMCAT
    30:jun:2006:20:07:24 TOMCAT
    30:jun:2006:20:07:45 TOMCAT
    30:jun:2006:20:07:45 TOMCAT
    30:jun:2006:20:08:05 TOMCAT
    30:jun:2006:20:08:05 TOMCAT
    PD_REPORTED_TIMESTAM PD_USER
    30:jun:2006:20:08:25 TOMCAT
    30:jun:2006:20:08:25 TOMCAT
    QUERY RESULT TO COME
    TIME DOMAIN
    TOMCAT 30:jun:2006:20:08:45
    TOMCAT 30:jun:2006:20:08:45
    TOMCAT 30:jun:2006:20:08:45
    TOMCAT 30:jun:2006:20:08:45
    Message was edited by:
    user517983

    Hi,
    can we write query like this.
    1 select pd_user,PD_REPORTED_TIMESTAMP
    2 from sp_process_detail_current spdc
    3 where host_id='DSCP02469'and pd_user='TOMCAT'
    4 and exists(
    5 select PD_REPORTED_TIMESTAMP from sp_process_detail_current
    6* having max(PD_REPORTED_TIMESTAMP)-spdc.PD_REPORTED_TIMESTAMP=0)
    SQL> /
    PD_USER PD_REPORTED_TIMESTAM
    TOMCAT 30:jun:2006:20:08:45
    TOMCAT 30:jun:2006:20:08:45
    TOMCAT 30:jun:2006:20:08:45
    TOMCAT 30:jun:2006:20:08:45

  • 1st and 2nd Receipt days of supply calcluation

    HI,
    i was wondering how the first and second receipt days of supply are calcuted when viewing in MD06. I went into the configuration 'Define Receipt Elements for Receipt Days' Supply' via menu Consumption Based Planning --> Evaluation --> Define Receip Elements Days' Supply.
    However, in this config activity i'm not sure how it differentiates between 1st and 2nd receipt days of supply? Does anyone know where the difference is located in configuration.
    Many Thanks, Erik

    Erik,
    The receipt days' supply indicates how many days a material will last. The system takes current plant stock and specific, predefined receipts into account when calculating the receipt days' supply.
    You can define two receipt days' supplies.This enables you to instruct the system to take the less binding receipt elements into account for the first receipt days' supply, and to take only the binding receipt elements (such as production orders and shipping notifications) into account for the second days' supply.
    In the IMG node you can define which mrp elements contributes or should be considered during calculation of days of supply.
    Typically for most clients, I advise taking firm MRP elements like Production orders & purchase orders into 1st Reciept days of supply as well as 2nd reciept days of supply.
    So in IMG node they get X =Take both receipt days' supply into account
    For Firmed PR & Firmed planned order they should be considered under 2nd reciept days of supply only.
    So in IMG node they get 2 = Only take receipt days' supply 2 into account
    Hope this clarifies your question around this concept. More questions please feel free to ask.
    thanks,
    Ram

  • Difference in ABST2 in non leading ledger for 2nd LC AA and 2nd LC GL

    Hi,
    While executing ABST2 there is difference in our non leading ledger ,we have recently created new dep. area 33 which updates the values in 2nd LC AA for non leading ledger but value in  2nd LC GL is different from what we have in Asset for non leading ledger Z1 .
    When we check in FAGLL03 for Z1 ledger  we came to know that Asset balance is updated from Local currency and GL values are updated from 2nd Local currency ,but in 2nd Local currency system has not post any entry and due to this there is difference.
    We want the same value in non leading ledger Z1 for 2nd LC AA and 2nd LC GL.
    Please let me know if there is any specefic settings required for the same.
    We have mantain dep area 34 also as per SAP Note 1433535 but still there is difference in ABST2.
    Thanks
    Akshata

    Hello Akshata,
    If you want to setup a scenario in Fixed Asset Accounting, where
    you post different valuations (local GAAP / IFRS) to a different ledger
    group in G/L for parallel valuation, then you have to use (in total) 3
    depreciation areas in the following way. For each additional "valuation"
    for which you have additional ledgers defined in G/L, and for which you
    want to get different values as those posted in area 01, you need also
    two additional depreciation areas (1 real and and 1 derived area) in
    asset accounting.
    Please consider a correct definition of a parallel ledger scenario
    is as follow: this is an example only
                               Posting to G/L         Ledger
    Area 01 HGB                        1                   0L    > STATUTORY
    Area XX IAS                          3                   LG    > (IAS)
    Area YY (IAS - HGB)             5 or 6              LG    > (IAS)
    Acquisition/transf/retirement postings in area 01 go to all ledgers
    independently of your setting in OADB. And, if any difference occurs
    between area 01 an area XX this is posted trough the derived area YY
    (posting indicator 6).
    This is the parallel ledger scenario logic and how the techinal
    solution to this requirement was developped.
    You can find more documentation about the so-called "Ledger Scenario" in
    Asset Accounting for the purpose of parallel valuation in the SAP Help
    Portal. You may find these links helpful:
    a) Parallel Accounting in Asset Accounting
    http://help.sap.com/erp2005_ehp_04/helpdata/EN/91/09f5400e517e7fe1000000
    0a1550b0/content.htm
    b) Parallel Valuation
    http://help.sap.com/saphelp_erp60_sp/helpdata/en/4f/71ea61448011d189f000
    00e81ddfac/content.htm
    c) Making Settings for Parallel Ledgers in FI-AA
         > this one documents my above explanation
    http://help.sap.com/erp2005_ehp_04/helpdata/EN/0d/de3d83c78b48a28a44ad92
    14239d57/content.htm
    d) Example: Parallel Accounting and the Derived Depreciation Area
         > this one describes how the derived area acts in the scenario
    http://help.sap.com/erp2005_ehp_04/helpdata/EN/37/ebad814b3347e9bc5182c0
    56d5bbd8/content.htm
    kind regards
    Ray

  • Query to find the maximum and second maximum

    i have a table temptab of 3 columns
    col1 col2 col3
    1 a 08-JAN-08
    1 a 09-JAN-08
    1 a 10-JAN-08
    1 b 10-JAN-08
    1 c 11-mar-08
    1 c 10-mar-08
    i want to select 1st maxm and 2nd maxm of col3 group by (col1,col2)
    o/p will be like
    1 a 10-jan-08 08-jan-08
    1 b 10-jan-08 null
    1 c 11-mar-08 10-mar-08
    select first.col1, first.col2, first.MAX_DATE, second.SEC_DATE from (select a.col1, a.col2, max(a.col3) as MAX_DATE
    from tab1 a group by a.col1, a.col2) first,
    (select b.col1, b.col2, max(b.col3) as SEC_DATE from tab1 b,
    (select a.col1, a.col2, max(a.col3) as MAX_DATE from tab1 a
    group by a.col1, a.col2) c
    WHERE c.col1 = b.col1
    AND c.col1=b.col1
    AND c.MAX_DATE > b.col3
    group by b.col1, b.col2) second
    where first.col1 = second.col1
    and first.col2 = second.col2;
    this is not working..
    please give a query which will do this.

    1. Your query have 3 subqueries where mine only one. Feel free to make your choice regarding the performance.
    2. You cannot have a column named date, unless you use double-quotes
    3. Your query doesn't work as well when you have not any second highest value
    4. Your query return a cartesian product of your table.
    Please check the results of your query (after applying the required modications) with the mine above, and make your choice :
    SQL> with tbl as
      2  (select 1 col1, 'a' col2, to_date('08-JAN-08','DD-MON-YY') col3 from dual union all
      3   select 1 col1, 'a' col2, to_date('09-JAN-08','DD-MON-YY') col3 from dual union all
      4   select 1 col1, 'a' col2, to_date('10-JAN-08','DD-MON-YY') col3 from dual union all
      5   select 1 col1, 'b' col2, to_date('10-JAN-08','DD-MON-YY') col3 from dual union all
      6   select 1 col1, 'c' col2, to_date('11-mar-08','DD-MON-YY') col3 from dual union all
      7   select 1 col1, 'c' col2, to_date('10-mar-08','DD-MON-YY') col3 from dual )
      8  --end of data sample
      9  select t1.col1 ,t1.col2 ,t1.col3,t2.col3
    10  from (select col1,col2,max(col3) col3
    11        from tbl
    12        group by col1,col2 ) t1,
    13       (select col1, col2, col3
    14        from (select col1, col2, col3,
    15                     row_number() over (partition by col1, col2 order by col3 desc) rn
    16              from tbl)
    17       where rn <= 2) t2
    18  where t1.col3 !=t2.col3;
          COL1 C COL3            COL3
             1 c 11-MAR-08       10-JAN-08
             1 a 10-JAN-08       09-JAN-08
             1 b 10-JAN-08       09-JAN-08[i] <-- obviously wrong, there is no 09-JAN-08 for 1b
             1 c 11-MAR-08       09-JAN-08[i] <-- obviously wrong, there is no 09-JAN-08 for 1c
             1 c 11-MAR-08       10-JAN-08[i] <-- obviously wrong, there is no 10-JAN-08 for 1c
             1 a 10-JAN-08       11-MAR-08[i] <-- obviously wrong, there is no 11-MAR-08 for 1a
             1 b 10-JAN-08       11-MAR-08[i] <-- obviously wrong, there is no 11-MAR-08 for 1b
             1 a 10-JAN-08       10-MAR-08[i] <-- obviously wrong, there is no 10-MAR-08 for 1a
             1 b 10-JAN-08       10-MAR-08[i] <-- obviously wrong, there is no 10-MAR-08 for 1b
             1 c 11-MAR-08       10-MAR-08[i] <-- obviously wrong, duplicate row
    10 rows selected.Nicolas.

  • Can we assign 2 IPs for a SCCM 2012 primary site server and use 1 IP for communicating with its 2 DPs and 2nd one for communicating with its upper hierarchy CAS which is in a different .Domain

    Hi,
    Can we assign 2 IPs for a SCCM 2012 primary site server and use 1 Ip for communicating with its 2 DPs and 2nd one for communicating with its upper hierarchy CAS . ?
    Scenario: We are building 1 SCCM 2012 primary site and 2 DPs in one domain . In future this will attach to a CAS server which is in different domain. Can we assign  2 IPs in Primary site server , one IP will use to communicate with its 2 DPs and second
    IP for communicating with the CAS server which is in a different domain.? 
    Details: 
    1)Server : Windows 2012 R2 Std , VM environment .2) SCCM : SCCM 2012 R2 .3)SQL: SQL 2012 Std
    Thanks
    Rajesh Vasudevan

    First, it's not possible. You cannot attach a primary site to an existing CAS.
    Primary sites in 2012 are *not* the same as primary sites in 2007 and a CAS is 2012 is completely different from a central primary site in 2007.
    CASes cannot manage clients. Also, primary sites are *not* used for delegation in 2012. As Torsten points out, multiple primary sites are used for scale-out (in terms of client count) only. Placing primary sites for different organizational units provides
    no functional differences but does add complexity, latency, and additional failure points.
    Thus, as the others have pointed out, your premise for doing this is completely incorrect. What are your actual business goals?
    As for the IP Addressing, that depends upon your networking infrastructure. There is no way to configure ConfigMgr to use different interfaces for different types of traffic. You could potentially manipulate the routing tables in Windows but that's asking
    for trouble IMO.
    Jason | http://blog.configmgrftw.com | @jasonsandys

  • Size difference of dock for 1st and 2nd gen

    Hi, I tried searching the forums but i couldn't find a specific answer to my question.
    I know that the dock for the 1st and 2nd gen is at a different place, but does anyone know if the exact size has changed? That is, if i have just a plug which was made for the 1st gen nano, can this plug fit into the 2nd gen dock pins?
    Any help will be great, thanks!
      Windows XP Pro  

    All dock connectors are the same, so you can use the same cable.
    However, you asked about the dock which is not the same as the dock connector. The dock is this.

  • I currently have an iPhone 4s, ipad2 and 2nd gen iPod touch connected to a dock. Can I control the iPod using my phone or iPad if I have iTunes open on laptop?

    I currently have an iPhone 4s, ipad2 and 2nd gen iPod touch connected to a dock. Can I control the iPod using my phone or iPad if I have iTunes open on laptop?

    The Tango app might be of some help with that:
    http://www.tuaw.com/2010/11/08/tango-links-your-ios-devices-for-remote-music-con trol/

Maybe you are looking for

  • OLE Automation for Word. EditGoto with Word 97

    I found a solution. Instead EditGoto, use WW7_EditGoto. Example: .- A Word Template whith two bookmarks (Texto1, Tabla1). A normal bookmark (Texto1) and a bookmark into a Word Table (Tabla1). In the Word Table, is posible change cell o create a new r

  • No midi clock out on AMT8 ports 4-8

    Hi, Logic 9, with daisy chained Emagic Unitor8's and AMT Unitory8->Unitor8->Amt8 I"m getting midi clock out on all ports except the last 4. Does anyone have a suggestion on how to make this work or if it is even possible? - Joel

  • To display the content selected in multiselect control in a report..

    Hi, I have one requirement to display the content selected in multiselect.I explained my requirement below. I have 5 multiselect boxes.they are locality,designation,connection1,connection2,connection3. The corresponding designations will be displayed

  • Authorization requirement

    hi,   this is my requirement how to provide authorization to be primarily based on plant code purchasing group material group incoterm vendor account group. please provide me the procedure and if there is any code for it please provide. thanks in adv

  • Automatic Generation of excise Invoice

    Hi all, iam not able to create excise invoice automaticaly against an invoice. i searched but couldnt  find the solution for the same. as details are maintained in IMG - logistics/general - Tax on goods Movement - India - basic settings - Excise grou