32 def quadrilaterals(self): |
32 def quadrilaterals(self): |
33 yield from self.filter_by_type(linetypes.Quadrilateral) |
33 yield from self.filter_by_type(linetypes.Quadrilateral) |
34 @property |
34 @property |
35 def has_header(self): |
35 def has_header(self): |
36 return self.header and not isinstance(self.header, header.BadHeader) |
36 return self.header and not isinstance(self.header, header.BadHeader) |
|
37 def find_first_header_object(self, object_type): |
|
38 return self.body[self.header.first_occurrence[object_type]] |
37 |
39 |
38 def model_vertices( |
40 def model_vertices( |
39 model, |
41 model, |
40 transformation_matrix = None, |
42 transformation_matrix = None, |
41 file_cache = None, |
43 file_cache = None, |