Return the numpy dtype of the in-memory representation of the data. (If there are no list properties, and the PLY format is binary, then this also accurately describes the on-disk representation of the element.)
(self, byte_order='=')
| 447 | raise ValueError(msg) |
| 448 | |
| 449 | def dtype(self, byte_order='='): |
| 450 | ''' |
| 451 | Return the numpy dtype of the in-memory representation of the |
| 452 | data. (If there are no list properties, and the PLY format is |
| 453 | binary, then this also accurately describes the on-disk |
| 454 | representation of the element.) |
| 455 | |
| 456 | ''' |
| 457 | return [(prop.name, prop.dtype(byte_order)) |
| 458 | for prop in self.properties] |
| 459 | |
| 460 | @staticmethod |
| 461 | def _parse_multi(header_lines): |
no outgoing calls
no test coverage detected