MCPcopy Create free account
hub / github.com/XiaoBaiiiiii/colmap-pcd / dtype

Method dtype

scripts/python/plyfile.py:449–458  ·  view source on GitHub ↗

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='=')

Source from the content-addressed store, hash-verified

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):

Callers 9

_readMethod · 0.95
_writeMethod · 0.95
_read_txtMethod · 0.95
_read_binMethod · 0.95
_from_fieldsMethod · 0.45
_to_fieldsMethod · 0.45
_write_binMethod · 0.45
_from_fieldsMethod · 0.45
_to_fieldsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected