gmggroup / omf-python

Python library for working with OMF files
MIT License
79 stars 19 forks source link

What is the meaning a TensorGridSurface with no offset_w? #114

Open sean-maptek opened 3 years ago

sean-maptek commented 3 years ago

The validation accepts the offset_w property of a TensorGridSurface being undefined or None.

Could you please clarify the meaning of this case? Such that it removes the ambiguity in what software vendors supporting OMF should do in this case.

For me, the most obvious meaning would be the surface is essentially flat and in the plane described by axis_u and axis_v, so it is as-if offset_w is really an array of all zeroes.

fwkoch commented 3 years ago

Yes - your interpretation is exactly what I have in mind - no offset_w means flat.

I'll update the documentation.

dbrookes96 commented 2 years ago

Is there a plan to explicitely support NULL or empty cells in the omf2 tensor grid surface to support delineation?

For example if something like NaN is written to one or more of the the offset_w values.