I want to calculate the surface area of an irregular object, the object has been grided and now I know the coordination of grids right on the boundary, the next step is that I have to try to use surface triangulation to creat traingles on boundary, then calculate the surface area(or other better ways you can think?).
but I do not know how to write C code for this transformation, anyone can help me? reply here or email <adameye at gmail>? thanks
how to do surface triangulation?
Started by adameye, Feb 27 2009 12:00 PM
1 reply to this topic
#1
Posted 27 February 2009 - 12:00 PM
|
|
|
#2
Posted 27 February 2009 - 04:34 PM
To find the surface area of any object:
create a function which tells you whether any point is inside the object's boundaries.
then test a grid of points that are in a square around the object. Each point should be a certain distance away from the other points in a grid. thus you are pixellating the object. If a point is in the object, then add the area of a square the size of the grid squares to the total area.
create a function which tells you whether any point is inside the object's boundaries.
then test a grid of points that are in a square around the object. Each point should be a certain distance away from the other points in a grid. thus you are pixellating the object. If a point is in the object, then add the area of a square the size of the grid squares to the total area.


Sign In
Create Account

Back to top









