[MOAB-dev] Range contiguity method
Tim Tautges
timothy.tautges at cd-adapco.com
Thu Aug 10 09:44:13 CDT 2017
There's a function on Range that gives you the number of subranges, though I can't remember what it's named.
- tim
On 08/08/2017 11:30 PM, Patrick Shriwise wrote:
> Hi all,
>
>
> I'm wondering if there is a way to rapidly check that a Range object contains a set of contiguous values.
>
>
> Naively, it seems that this can be done by checking that it is made up of only one pair_node by looking at the mNext
> & mPrev pointers to verify this is the case.
>
>
> This would allow some MOAB interfaces (such as the GeomTopoTool) to rapidly determine if they are working only with
> contiguous EntitySets and take advantage of this fact.
>
>
> Cheers,
>
>
>
> Patrick
>
--
Timothy J. Tautges
Siemens PLM Software Inc.
Digital Factory Division, Product Lifecycle Management
1500 Engineering Dr, Madison, WI 53706
Phone: (631) 629-3139 (internal: x29130)
Mobile/Gvoice: (608) 354-1459
timothy.tautges at siemens.com
www.siemens.com/plm
More information about the moab-dev
mailing list