[Sidefx-houdini-list] HDK 2D center of Area/Gravity

Andrew Lyons tstexture at gmail.com
Sat Aug 25 18:31:20 EDT 2012


Hi,

Haven't tried it - but it sounds like what you are looking for:
http://www.sidefx.com/docs/hdk12.0/class_g_e_o___primitive.html#3bdfcaf62d3db772316ffc0b227dbf07

Also:
http://en.wikipedia.org/wiki/Center_of_mass

Cheers


On 25 August 2012 14:25, Dan Schneider <eyevex at yahoo.com> wrote:

> I have a set of points position X normalized 0-1 with Y vals also
> normalized 0-1.
>
> Essentially making a curve.
>
> I'm looking for any built in function to get me near or actually calculate
> the center or area (and the center of gravity would be beneficial as well
> but not as critical). I would think marshaling the data into a curve or
> spline or 2D shape would get me partially there, but after searching HDK
> docs didn't see any object i could toss the data into with the appropriate
> methods.  I'd imagine its buried somewhere and I haven't yet come across it.
>
> Has any one else? or, Anyone have an idea how to do this with included
> objects/methods?
> ideas welcome and thanks ahead as always...
>
> -Dan S [eyevex] (|;-D>
> _______________________________________________
> Sidefx-houdini-list mailing list
> Sidefx-houdini-list at sidefx.com
> https://lists.sidefx.com:443/mailman/listinfo/sidefx-houdini-list
>



-- 
===============================================
Andrew D Lyons | Digital Artist | http://www.linkedin.com/in/tstex
===============================================



More information about the Sidefx-houdini-list mailing list