Recently, I'm working on something about polynomial splines over hierarchical T-meshes, which is basically a rectangular grid that allows T-junctions. I want to do some numerical experiments but I don't know how to represent T-meshes and splines over it in a computer. I'm going to study about **PHT-splines** and **Hermite splines** over T-meshes.

So my problem is: Which data structure should I use for them? Thank you~

I've tried to search for it on google. But all I found are about mathematical analysis of them and none is about the data structure.

Note: For details of T-meshes and PHT splines you can refer to this article

[pdf] Polynomial splines over hierarchical T-meshes