Show
Ignore:
Timestamp:
10/28/03 18:10:04 (5 years ago)
Author:
sholloway
Message:

*** empty log message ***

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/RBRapier/RBRapier/Tools/Vector.py

    r703 r732  
    2424#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 
    2525 
     26import math 
    2627import Numeric 
    2728from RBFoundation.IndexedProperty import IndexedProperty  
     
    3132#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 
    3233 
    33 _rad2deg = 180.0/Numeric.pi 
    34 _deg2rad = Numeric.pi/180.0 
    3534_NumericType = Numeric.Float32 
    3635 
     
    288287 
    289288    def DeltaAngle(self, other): 
    290         return _rad2deg * self.DeltaRadians(other
     289        return math.degrees(self.DeltaRadians(other)
    291290 
    292291    def DeltaRadians(self, other):