For all issues regarding the Forums use, please, refer to the Forum Rules.

Our Solutions

Need professional assistance?
Consider our:

Support Offerings


Need to speed up your development?
Have a look at our:

Samples & Tools


Need some functionality extending standard OCCT capabilities?
Check out our:

Adv. Components

Related pages

'ShapeAnalysis_Surface sas' has initializer but incomplete type

Sean Walton's picture


I'm trying to use the ShapeAnalysis_Surface class to project a point to a surface. In my code I've got the following...

Handle(Geom_Surface) S = BRep_Tool::Surface(anFace);
ShapeAnalysis_Surface sas(S);
gp_Pnt2d suval = sas.ValueOfUV( RV,0.000000001);
suval.Coord( u, v);

I've added #include to my opencascade include header but when I try to compile I get the following error.

occt_flite.cpp:1541: error: variable 'ShapeAnalysis_Surface sas' has initializer but incomplete type

I'd appreciate any help, I have no idea what to try.

Thanks, Sean