Results 1 to 1 of 1

Thread: AcedCylinder::intersectWith fails in arx 2015

  1. #1
    Login to Give a bone
    0

    Exclamation AcedCylinder::intersectWith fails in arx 2015

    Hello,


    Is there is change in intersectWith function in ACAD 2015 my code work with Object arx 2014 but in 2015 it returns false.
    Below is sample command to get intersection


    Code:
    static void CheckIntersection()
    {
    
    double m_DH = 2000.0;
    AcGePoint3d org(0,0,0);
    AcGeVector3d m_xAxis(1,0,0);
    AcGeCylinder cylA(m_DH/2, org, m_xAxis);[/FONT][/COLOR]
    [COLOR=#000000][FONT=FrutigerNextW04-Regular]AcGeLineSeg3d intLine; 
    AcGePoint3d pt1(0.52257073158706313,10.637171608585087,-1000.0000000000000);
    AcGePoint3d pt2(0.52257073158700185,10.637171608585087,0.00000000000000000);
    intLine.set(pt1, pt2);
    int nrInt;
    AcGePoint3d p3, p4;
    //AcGeTol TOL;
    //TOL.setEqualPoint(1.1);
    //TOL.setEqualVector(1.1);
    Adesk::Boolean stat = cylA.intersectWith(intLine, nrInt, p3, p4);
    if(stat == Adesk::kTrue)
    {
    ads_printf(L"cylA.intersectWith successfull");
    }
    else
    {
    ads_printf(L"cylA.intersectWith FAIL");
    }
    
    }


    here in 2014 arx intersectWith returns true and in 2015 it returns false .
    Please help...


    Thanks & Regards,
    Dhanraj
    Last edited by dhanraj.dhokle700004; 2016-02-22 at 10:48 AM. Reason: [code] tags added

Similar Threads

  1. Replies: 8
    Last Post: 2016-04-20, 06:41 PM
  2. IntersectWith Problems
    By srperrier in forum Dot Net API
    Replies: 0
    Last Post: 2011-08-05, 08:07 PM
  3. Problems with IntersectWith
    By Lee Mac in forum AutoLISP
    Replies: 3
    Last Post: 2009-05-17, 11:20 PM
  4. Intersectwith issue
    By kerbocad in forum VBA/COM Interop
    Replies: 2
    Last Post: 2009-02-19, 03:27 PM
  5. IntersectWith Question
    By david.brissenden in forum VBA/COM Interop
    Replies: 3
    Last Post: 2008-10-13, 01:59 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •