Is there a general way to select the naked interior curve in a surface?
For example, in the image below, there are two trimmed surfaces, and I need to select the interior curve. Sometimes this curve is longer or shorter than the perimeter curve which is complicates its selection. In addition, the perimeter and interior curves are both “closed curves” in the actual geometry I’m working with (can’t share it). Also, the actual geometry can curve in one dimension.
Is there a generalized way to to select this curve?
Thank you for the reply. Unfortunately, the actual geometry curves in one dimension (just updated the original post to reflect this), but I can compare the area of the split patch and the area of the trimmed surface which should do the trick!
This actually doesn’t work for my purposes because some patches can have an area greater than the trimmed surface.
However, what I did instead was:
Calculate the perimeter of each patch and trimmed surface
Sort the patches and trimmed surface according the perimeters
Cull the last item (which will always be the trimmed surface because the perimeter of the trimmed surface is the sum of all patch perimeters + the original surface perimeter)
The inner patch will always have a smaller area than the original untrimmed surface, yes.
If you compare the resulting two patches, the inner patch can have a larger area than the patch that bounds it, but the inner patch will always have a smaller perimeter.
This geometry is curved (like a barrel) so it’s not possible to calculate the area of non-planar curves (unless you can somehow set the domain of the area calculation to an arbitrary surface [eg, calculate the area of a rectangle projected on a cylindrical domain] and i just don’t know that you can), but curves always have a length.