edemaine / fold

FOLD file format for origami models, crease patterns, etc.
MIT License
314 stars 48 forks source link

Pointer representation #16

Open edemaine opened 6 years ago

edemaine commented 6 years ago

When programming, it's really useful for vertices/edge/faces to be represented by objects with properties, and pointers to related objects instead of integer indices. The viewer essentially builds such a data structure. We should provide conversions between the file-format representation and this pointer-based representation. The names of everything should be clear from the FOLD names.

(discussion with Jason)