Open CASCADE, the 3D modelling kernel
3D modeling & numerical simulation

Search the Forums
See All Topics

Problem using Geom2dAPI_InterCurveCurve

Problem using Geom2dAPI_InterCurveCurve
haowei 2012/08/03 11:04
I am using Geom2dAPI_InterCurveCurve to computes self-intersections of the curve. this is my test code:

     Handle(TColgp_HArray1OfPnt2d) harray = new TColgp_HArray1OfPnt2d (1,12);
     Geom2dAPI_Interpolate anInterpolation(harray,TRUE,1.0e-6);
     Handle(Geom2d_BSplineCurve) curve = anInterpolation.Curve();

     Geom2dAPI_InterCurveCurve IIC(curve,1.0e-10);
     int nbpoints = IIC.NbPoints();

Geom2dAPI_InterCurveCurve only return one intersection point,but actual three intersction points. why?

Any help is appreciated!
You have to be logged in to download the attached file
Latest news
  • Open CASCADE CAD Assistant for iOS platform is available!
  • Open CASCADE Technology 6.9.0 is available for download!
  • JT Assistant for Android

  • © OPEN CASCADE 2000 - 2015  |  Search  |  Contacts   |  Site map