#NEWLINE# def get_point_map( self , informat ) : #NEWLINE# #INDENT# 'Get point map is used to build and return a numpy frombuffer view of the mmapped data, \n        using a valid laspy.util.Format instance for the desired point format. This method is used \n        to provide access to extra_bytes even when dimensions have been explicitly defined via an \n        extra_bytes VLR record.' #NEWLINE# if ( type ( self . _mmap ) == bool ) : #NEWLINE# #INDENT# self . map ( ) #NEWLINE# #UNINDENT# self . pointfmt = np . dtype ( [ ( 'point' , zip ( [ x . name for x in informat . specs ] , [ x . np_fmt for x in informat . specs ] ) ) ] ) #NEWLINE# if ( not ( self . manager . header . version in ( '1.3' , '1.4' ) ) ) : #NEWLINE# #INDENT# _pmap = np . frombuffer ( self . _mmap , self . pointfmt , offset = self . manager . header . data_offset ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# _pmap = np . frombuffer ( self . _mmap , self . pointfmt , offset = informat . manager . header . data_offset , count = self . manager . header . point_records_count ) #NEWLINE# #UNINDENT# return _pmap