From e00ce0d81f3671615c0d22a8c917f1133a9340f3 Mon Sep 17 00:00:00 2001 From: Revar Desmera Date: Wed, 10 Jul 2019 13:22:24 -0700 Subject: [PATCH] Removed right_of_line2d() --- geometry.scad | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/geometry.scad b/geometry.scad index 804c342..09a3ade 100644 --- a/geometry.scad +++ b/geometry.scad @@ -54,18 +54,6 @@ function _point_above_below_segment(point, edge) = ); -// Function: right_of_line2d() -// Usage: -// right_of_line2d(line, pt) -// Description: -// Returns true if the given point is to the left of the extended line defined by two points on it. -// Arguments: -// line = A list of two points. -// pt = The point to test. -function right_of_line2d(line, pt) = - triangle_area2d(line[0], line[1], pt) < 0; - - // Function: collinear() // Usage: // collinear(a, b, c, [eps]);