parameters: (self, dYdX1, dYdX2)
return_statement: return (dYdX1.cross(dYdX2) == FreeCAD.Vector(0,0,0) )
docstring: Determine if two orientation vectors are parallel.
docstring_summary: Determine if two orientation vectors are parallel.
docstring_tokens: Determine if two orientation vectors are parallel .
function: def _isParallel(self, dYdX1, dYdX2):
          """Determine if two orientation vectors are parallel."""
          # if dYdX1.add(dYdX2).Length == 0:
          #    return True
          # if ((dYdX1.x + dYdX2.x) / 2.0 == dYdX1.x and
          #    (dYdX1.y + dYdX2.y) / 2.0 == dYdX1.y):
          #    return True
          # return False
          return (dYdX1.cross(dYdX2) == FreeCAD.Vector(0,0,0) )
function_tokens: def _isParallel ( self , dYdX1 , dYdX2 ) : # if dYdX1.add(dYdX2).Length == 0: #    return True # if ((dYdX1.x + dYdX2.x) / 2.0 == dYdX1.x and #    (dYdX1.y + dYdX2.y) / 2.0 == dYdX1.y): #    return True # return False return ( dYdX1 . cross ( dYdX2 ) == FreeCAD . Vector ( 0 , 0 , 0 ) )