You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ The package provides four predicates. In the functions below, all the inputs sho
8
8
-`orient2(pa, pb, pc)`: Given three points `pa`, `pb`, and `pc` in two dimensions, returns a positive value if the points are in counter-clockwise order; a negative value if they occur in clockwise order; and zero if they are collinear. Equivalently, returns a positive value if `pc` is left of the oriented line from `pa` to `pb`; a negative value if `pc` is right of this line; and zero if they are collinear.
9
9
-`orient3(pa, pb, pc, pd)`: Given four points `pa`, `pb`, `pc`, and `pd` in three dimensions, define the oriented plane on which the triangle `(pa, pb, pc)` is positively oriented. Returns a positive value if `pd` is below this plane; a negative value if `pd` is above this plane; and zero if the points are coplanar.
10
10
-`incircle(pa, pb, pc, pd)`: Given four points `pa`, `pb`, `pc`, and `pd` in two dimensions, returns a positive value if `pd` is inside the circle through `pa`, `pb`, and `pc`; a negative value if `pd` is outside this circle; and zero if `pd` is on the circle.
11
-
-`insphere(pa, pb, pc, pd, pe)`: Given five points `pa`, `pb`, `pc`, `pd`, and `pe` in three dimensions, returns a positive value if `pe` inside on the sphere through `pa`, `pb`, `pc`, and `pd`; a negative value if `pe` is outside this sphere; and zero if `pe` is on the sphere.
11
+
-`insphere(pa, pb, pc, pd, pe)`: Given five points `pa`, `pb`, `pc`, `pd`, and `pe` in three dimensions, returns a positive value if `pe` inside of the sphere through `pa`, `pb`, `pc`, and `pd`; a negative value if `pe` is outside this sphere; and zero if `pe` is on the sphere.
12
12
13
13
We also define the functions `orient2p`, `orient3p`, `incirclep`, and `inspherep` which simply return the sign of the corresponding predicate. For example,
0 commit comments