Tue, 08/01/2023 - 05:35
Forums:
Dear all,
I've encounter a linker problem LNK2001 when using BOPTools_AlgoTools3D::GetNormalToSurface.
unresolved external symbol "public: static bool __cdecl BOPTools_AlgoTools3D::GetNormalToSurface(class opencascade::handle<class Geom_Surface> const &,double,double,class gp_Dir &)" (?GetNormalToSurface@BOPTools_AlgoTools3D@@SA_NAEBV?$handle@VGeom_Surface@@@opencascade@@NNAEAVgp_Dir@@@Z)"
I guess I've missed a DLL or something. Can anyone help me with this?
Thanks a lot.
Tue, 08/01/2023 - 10:12
You should link to
TKBO
toolkit for using this method.Note that most places suggest using
GeomLib::NormEstim()
for calculation of estimated surface normal, which would handle tricky cases - you probably want this method instead.Wed, 08/02/2023 - 09:36
Thank you very much, gkv311 n!