For some reason I do not get this function to work.
Code: Select all
info = POINT_INFO()
points = [XYZ(1.875,0.1,1.875)]
Textile.GetPointInformation(points,info,1e-9)
void GetPointInformation (const vector< XYZ > &Points, vector< POINT_INFO > &PointsInfo, double dTolerance=1e-9)
Get usefull information of a list of points.
The Error message reads
File ".\Python\libxtra\TexGen\Core.py", line 2094, in GetPointInformation
NotImplementedError: Wrong number of arguments for overloaded function 'CTextile_GetPointInformation'.
Possible C/C++ prototypes are:
GetPointInformation(TexGen::CTextile *,std::vector< TexGen::XYZ > const &,std::vector< TexGen::POINT_INFO > &,double)
GetPointInformation(TexGen::CTextile *,std::vector< TexGen::XYZ > const &,std::vector< TexGen::POINT_INFO > &)
which indicate that I have either to many of to few arguments. Does anyone have any idea?
Textile is an instance of the CTextile class, and points is a list of points (now only one point). I have also tried to just pass a XYZ() object with the same result.
Sincerly
Fredrik
KTH