Ignore:
Timestamp:
Mar 17, 2009, 5:44:57 PM (15 years ago)
Author:
ole
Message:

Added new function is_inside_triangle. This helps the fitting functions.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • anuga_core/source/anuga/utilities/numerical_tools.py

    r6438 r6534  
    8484    p = num.innerproduct(v1, v2)
    8585    c = num.innerproduct(v1, normal_vector(v2)) # Projection onto normal
    86                                             # (negative cross product)
     86                                                # (negative cross product)
    8787       
    8888    theta = safe_acos(p)
Note: See TracChangeset for help on using the changeset viewer.