parameters: (self, v)
return_statement: return FreeCAD.Vector(x, y, z)
docstring: _normalizeVector(v)...
          Returns a copy of the vector received with values rounded to 10 decimal places.
docstring_summary: _normalizeVector(v)...
          Returns a copy of the vector received with values rounded to 10 decimal places.
docstring_tokens: _normalizeVector ( v ) ... Returns a copy of the vector received with values rounded to 10 decimal places .
function: def _normalizeVector(self, v):
          """_normalizeVector(v)...
          Returns a copy of the vector received with values rounded to 10 decimal places."""
          posTol = 0.0000000001  # arbitrary, use job Geometry Tolerance ???
          negTol = -1 * posTol
          V = FreeCAD.Vector(v.x, v.y, v.z)
          V.normalize()
          x = V.x
          y = V.y
          z = V.z
  
          if V.x != 0 and abs(V.x) < posTol:
              x = 0.0
          if V.x != 1 and 1.0 - V.x < posTol:
              x = 1.0
          if V.x != -1 and -1.0 - V.x > negTol:
              x = -1.0
  
          if V.y != 0 and abs(V.y) < posTol:
              y = 0.0
          if V.y != 1 and 1.0 - V.y < posTol:
              y = 1.0
          if V.y != -1 and -1.0 - V.y > negTol:
              y = -1.0
  
          if V.z != 0 and abs(V.z) < posTol:
              z = 0.0
          if V.z != 1 and 1.0 - V.z < posTol:
              z = 1.0
          if V.z != -1 and -1.0 - V.z > negTol:
              z = -1.0
  
          return FreeCAD.Vector(x, y, z)
function_tokens: def _normalizeVector ( self , v ) : posTol = 0.0000000001 # arbitrary, use job Geometry Tolerance ??? negTol = - 1 * posTol V = FreeCAD . Vector ( v . x , v . y , v . z ) V . normalize ( ) x = V . x y = V . y z = V . z if V . x != 0 and abs ( V . x ) < posTol : x = 0.0 if V . x != 1 and 1.0 - V . x < posTol : x = 1.0 if V . x != - 1 and - 1.0 - V . x > negTol : x = - 1.0 if V . y != 0 and abs ( V . y ) < posTol : y = 0.0 if V . y != 1 and 1.0 - V . y < posTol : y = 1.0 if V . y != - 1 and - 1.0 - V . y > negTol : y = - 1.0 if V . z != 0 and abs ( V . z ) < posTol : z = 0.0 if V . z != 1 and 1.0 - V . z < posTol : z = 1.0 if V . z != - 1 and - 1.0 - V . z > negTol : z = - 1.0 return FreeCAD . Vector ( x , y , z )