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 / Incomplete Initializer with gp_Pln

Incomplete Initializer with gp_Pln

Incomplete Initializer with gp_Pln
Game Milky 2013/02/28 19:31
I come across an error in using gp_Pln, here block block of coding!

Any help please!

bool OCCT_FLITE::isKnuckleEdge(const TopoDS_Edge& edge)

TopoDS_Shape result;
TopoDS_Face FaceA; //face explored from shape
Handle(Geom_Curve) curve = BRep_Tool::Curve(edge, first, last);
          GeomAdaptor_Curve adaptorCurve(curve);
          GCPnts_UniformAbscissa algo(adaptorCurve, 5, first, last);
      //Loop over the two center points of comparison
          for(i = 2; i <= algo.NbPoints() - 1; i = i + 2)
      //level define

               double param = algo.Parameter(i);
               gp_Pnt point;
               gp_Vec tangent;
               curve->D1(param, point, tangent);
               gp_Dir normal(tangent);
               gp_Pln Sectionplane(point, normal); //Section plane

               BRepAlgoAPI_Section cutAlgo(faceA, Sectionplane, Standard_False);
               result = cutAlgo.Shape();


Error message....
error: variable ‘gp_Pln Sectionplane’ has initializer but incomplete type

Any help with this problem

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