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

Search the Forums
See All Topics
Open CASCADEShowroomGet it!Developer CornerSupport and ProductsAbout us
Technical overview
Areas of use
Shape factory
Shape gallery
What's new
System requirements
Download Center
Public license
Getting started
Open Source community
Training and e-learning
A-la Carte Support
Value-added software
Complementary Components
Customer Corner
Company Profile
Marketing Materials
Contact Us
Home / Developer Corner / Forums / Usage issues / Problem using Geom2dAPI_InterCurveCurve

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
  • New features to enhance the development process
  • Open CASCADE Technology 6.7.1 is available for download!
  • Open CASCADE Technology 6.7.0 is available for download!

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