示例#1
0
        public static bool __Parallel(this ICoord coord1, ICoord coord2, double tolerance = Tolerance)
        {
            int result;

            UFSession.GetUFSession().Vec3.IsParallel(coord1.ToCoord(), coord2.ToCoord(), tolerance, out result);
            switch (result)
            {
            case UFConstants.TRUE:
                return(true);

            case UFConstants.FALSE:
                return(false);

            default:
                throw new ArgumentOutOfRangeException();
            }
        }