The MESH_ISSOLID function computes various mesh properties and enables IDL to determine if a mesh encloses space (is a solid). If the mesh can be considered a solid, routines can compute the volume of the mesh.
Result = MESH_ISSOLID (Conn)
Returns 1 if the input mesh fully encloses space (assuming no polygonal interpenetration) or 0 otherwise. A mesh is defined to fully enclose space if each edge in the input mesh appears an even number of times in the mesh.
Note: The input polygonal mesh is assumed to contain only planar, convex polygons.
This is an integer or longword array that represents a series of polygon descriptions. Each polygon description takes the form [n, i0, i1, ..., in-1], where n is the number of vertices that define the polygon, and i0...in-1 are indices into the vertex array.
This page has no comments yet. Be the first one!