GetPointInformation

General discussion about TexGen.

Moderators: Martin, Developers

Post Reply
fstig
Regular
Posts: 14
Joined: Thu Apr 24, 2008 7:09 am
Location: Gothenburg, Sweden
Contact:

GetPointInformation

Post by fstig »

Question regarding the use of GetPointInformation().

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)
According to the CTextile Class Reference the following input is required

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
Researcher RISE
joncrookston
Expert User
Posts: 27
Joined: Wed Apr 11, 2007 4:03 pm
Location: Nottingham, UK

Post by joncrookston »

Hi Fredrik,

Hope you are well. I just noticed your post. I don't know if it is relevant, but did you see my responses to an earlier post on this?

http://texgen.sourceforge.net/phpBB2/viewtopic.php?t=91

Hopefully it will help you. All the best,
Jon.
Post Reply