Пример #1
0
        public static bool PointIsBelowLineBottomInclusive_On_Ends(double yPtN)
        {
            CartesianCoordinate ptI = new CartesianCoordinate(1, 2);
            CartesianCoordinate ptJ = new CartesianCoordinate(15, 5);

            return(LineToLineIntersection.PointIsBelowLineBottomInclusive(yPtN, ptI, ptJ));
        }
Пример #2
0
        public static bool PointIsBelowLineBottom_SlopedLine(double yPtN, double yBottomEnd, double yTopEnd)
        {
            CartesianCoordinate ptI = new CartesianCoordinate(10, yBottomEnd);
            CartesianCoordinate ptJ = new CartesianCoordinate(20, yTopEnd);

            return(LineToLineIntersection.PointIsBelowLineBottomInclusive(yPtN, ptI, ptJ));
        }