On Mar 5, 2014, at 2:48 AM, K RAJ KOUSHIK REDDY wrote:

> rt_vol_internal has matp_t mat : I saw that matp_t is supposed to contain 4X4 
> matrix of double type. I didnt find a corresponding implementation in 
> ctypes_adaptors, should I use points in this case with pointsize = 4x4 = 16.

It's worth noting that matp_t is a pointer to a mat_t, which is a 1-dimensional 
array of 16 doubles.  So whatever is done for vect_t and/or point_t (both 
1-dimesional array of 4 doubles) should work similarly with the size adjusted 
to 16 elements.  The only c type difference is that matp_t is technically just 
a pointer to a fastf_t (i.e., a double) and we assume there are at least 16 
fastf_t values there that comprise a matrix.

Cheers!
Sean


------------------------------------------------------------------------------
Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce.
With Perforce, you get hassle-free workflows. Merge that actually works. 
Faster operations. Version large binaries.  Built-in WAN optimization and the
freedom to use Git, Perforce or both. Make the move to Perforce.
http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk
_______________________________________________
BRL-CAD Developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-devel

Reply via email to