Esempio n. 1
0
        public static bool PointIsLeftOfLineEndInclusive_On_Ends(double xPtN)
        {
            CartesianCoordinate ptI = new CartesianCoordinate(1, 2);
            CartesianCoordinate ptJ = new CartesianCoordinate(15, 5);

            return(LineToLineIntersection.PointIsLeftOfLineEndInclusive(xPtN, ptI, ptJ));
        }
Esempio n. 2
0
        public static bool PointIsLeftOfLineEnd_SlopedLine(double xPtN, double xLeftEnd, double xRightEnd)
        {
            CartesianCoordinate ptI = new CartesianCoordinate(xLeftEnd, 10);
            CartesianCoordinate ptJ = new CartesianCoordinate(xRightEnd, 20);

            return(LineToLineIntersection.PointIsLeftOfLineEndInclusive(xPtN, ptI, ptJ));
        }