code: def triangulate(self, **kwargs):
          
          from ..creation import triangulate_polygon
  
          # append vertices and faces into sequence
          v_seq = []
          f_seq = []
  
          # loop through polygons with interiors
          for polygon in self.polygons_full:
              v, f = triangulate_polygon(polygon, **kwargs)
              v_seq.append(v)
              f_seq.append(f)
  
          return util.append_faces(v_seq, f_seq)
docs: Create a region- aware triangulation of the 2D path.
  
          Parameters
          -------------
          **kwargs : dict
            Passed to trimesh.creation.triangulate_polygon
  
          Returns
          -------------
          vertices : (n, 2) float
            2D vertices of triangulation
          faces : (n, 3) int
            Indexes of vertices for triangles