class_docstr: This pen implements "point inside" testing: to test whether
  a given point lies inside the shape (black) or outside (white).
  Instances of this class can be recycled, as long as the
  setTestPoint() method is used to set the new point to test.
  
  Typical usage:
  
          pen = PointInsidePen(glyphSet, (100, 200))
          outline.draw(pen)
          isInside = pen.getResult()
  
  Both the even-odd algorithm and the non-zero-winding-rule
  algorithm are implemented. The latter is the default, specify
  True for the evenOdd argument of __init__ or setTestPoint
  to use the even-odd algorithm.
class_docstr_tok: ["This","pen","implements","``","point","inside","''","testing",":","to","test","whether","a","given","point","lies","inside","the","shape","(","black",")","or","outside","(","white",")",".","Instances","of","this","class","can","be","recycled",",","as","long","as","the","setTestPoint","(",")","method","is","used","to","set","the","new","point","to","test",".","Typical","usage",":","pen","=","PointInsidePen","(","glyphSet",",","(","100",",","200",")",")","outline.draw","(","pen",")","isInside","=","pen.getResult","(",")","Both","the","even-odd","algorithm","and","the","non-zero-winding-rule","algorithm","are","implemented",".","The","latter","is","the","default",",","specify","True","for","the","evenOdd","argument","of","__init__","or","setTestPoint","to","use","the","even-odd","algorithm","."]
code: def _addIntersection(self, goingUp):
      if self.evenOdd or goingUp:
          self.intersectionCount += 1
      else:
          self.intersectionCount -= 1
  
file_path: catboost/contrib/python/fonttools/fontTools/pens/pointInsidePen.py
imports: from fontTools.pens.basePen import BasePen
  from fontTools.misc.bezierTools import solveQuadratic, solveCubic
label_desc: Use image node_id 5 for calling the PointInsidePen obj's underlying member method code with example usage: obj._addIntersection(goingUp) without return types