code: def insertPoint(self, index, position=None, type="line", smooth=False, name=None, identifier=None, point=None):
          
          if point is not None:
              if position is None:
                  position = point.position
              type = point.type
              smooth = point.smooth
              if name is None:
                  name = point.name
              if identifier is not None:
                  identifier = point.identifier
          index = normalizers.normalizeIndex(index)
          position = normalizers.normalizeCoordinateTuple(position)
          type = normalizers.normalizePointType(type)
          smooth = normalizers.normalizeBoolean(smooth)
          if name is not None:
              name = normalizers.normalizePointName(name)
          if identifier is not None:
              identifier = normalizers.normalizeIdentifier(identifier)
          self._insertPoint(
              index,
              position=position,
              type=type,
              smooth=smooth,
              name=name,
              identifier=identifier
          )
docs: Insert a point into the contour.