B
booboo_US
Guest
Hi all:
I am using VB.net 2019. I am have a shape that I drew using lines and arcs (not just a polygon) with possible holes etc, and the shape is closed. I am trying to find its centroid and moment of inertia using VB. I was wondering if anyone has any idea on how to do this?
One way that I thought of doing this is to mesh the area with triangles, and simply use x_bar=sum(x_bar*A)/sum(A) for example and the x_bar and a similar approach (and using the parallel axis theorem) to find the moment of inertia. The problem is that I have no idea on how to mesh. I appreciate a comment (and/or code).
Is there a better or easier way of doing this other than meshing? I appreciate it.
Thanks;
Bob
Continue reading...
I am using VB.net 2019. I am have a shape that I drew using lines and arcs (not just a polygon) with possible holes etc, and the shape is closed. I am trying to find its centroid and moment of inertia using VB. I was wondering if anyone has any idea on how to do this?
One way that I thought of doing this is to mesh the area with triangles, and simply use x_bar=sum(x_bar*A)/sum(A) for example and the x_bar and a similar approach (and using the parallel axis theorem) to find the moment of inertia. The problem is that I have no idea on how to mesh. I appreciate a comment (and/or code).
Is there a better or easier way of doing this other than meshing? I appreciate it.
Thanks;
Bob
Continue reading...