Hello, another question about working with the openNURBS library.

I'm trying to create an ON_BezierCurve from a C array of 2d points 
(defined as pointers to fastf_t's). I thought i could easily turn the C 
array into an ON_2dPointArray and then call the ON_BezierCurve 
constructor on the ON_2dPointArray, but ON_2dPointArray doesnt have any 
methods to assign elements to it (unless i just cant find them). The 
only method for ON_2dPointArray I found takes another ON_2dPointArray as 
input.

So how does one turn a C style array of 2d points into a ON_2dPointArray?

thanks,
chris


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
BRL-CAD Developer mailing list
brlcad-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/brlcad-devel

Reply via email to