parameters: (self,vert,face)
docstring: Returns True if the vert is inside the face in Z projection
docstring_summary: Returns True if the vert is inside the face in Z projection
docstring_tokens: Returns True if the vert is inside the face in Z projection
function: def isInside(self,vert,face):
          "Returns True if the vert is inside the face in Z projection"
  
          if not face:
              return False
  
          # http://paulbourke.net/geometry/insidepoly/
          count = 0
          p = self.wp.getLocalCoords(vert.Point)
          for e in face[0].Edges:
              p1 = e.Vertexes[0].Point
              p2 = e.Vertexes[-1].Point
              if p.y > min(p1.y,p2.y):
                  if p.y <= max(p1.y,p2.y):
                      if p.x <= max(p1.x,p2.x):
                          if p1.y != p2.y:
                              xinters = (p.y-p1.y)*(p2.x-p1.x)/(p2.y-p1.y)+p1.x
                              if (p1.x == p2.x) or (p.x <= xinters):
                                  count += 1
          if count % 2 == 0:
              return False
          else:
              return True
function_tokens: def isInside ( self , vert , face ) : if not face : return False # http://paulbourke.net/geometry/insidepoly/ count = 0 p = self . wp . getLocalCoords ( vert . Point ) for e in face [ 0 ] . Edges : p1 = e . Vertexes [ 0 ] . Point p2 = e . Vertexes [ - 1 ] . Point if p . y > min ( p1 . y , p2 . y ) : if p . y <= max ( p1 . y , p2 . y ) : if p . x <= max ( p1 . x , p2 . x ) : if p1 . y != p2 . y : xinters = ( p . y - p1 . y ) * ( p2 . x - p1 . x ) / ( p2 . y - p1 . y ) + p1 . x if ( p1 . x == p2 . x ) or ( p . x <= xinters ) : count += 1 if count % 2 == 0 : return False else : return True