point
Constructs a 2D point. With three numbers, a 3D point: point(1, 2, 3).
x(number) --y(number) --
Constructs a 2D point. With three numbers, a 3D point: point(1, 2, 3).
x (number) -- y (number) -- Constructs a 2D line in general form a*x + b*y + c = 0; line(P, Q) is the line through two points. In 3D, line(p, l, m, n) is the line through point p with direction ratios l, m, n, shown in symmetric form.
a (number) -- b (number) -- c (number) -- Constructs the line through two points. With two 3D points, the 3D line through them.
p (point2d) -- q (point2d) -- Constructs the line y = m*x + k from a slope and y-intercept.
m (number) -- slopek (number) -- y-interceptConstructs the line through a point with a given slope.
p (point2d) -- m (number) -- slopeConstructs an infinite line through a point at a direction in degrees. Positive angles are counter-clockwise from +x; negative angles clockwise.
p (point2d) -- point on the linedegrees (number) -- line direction in degreesConstructs the line with given x- and y-intercepts.
xIntercept (number) -- yIntercept (number) -- Constructs the vertical line x = k.
k (number) -- Constructs the horizontal line y = k.
k (number) -- Constructs a circle from a centre point and radius.
centre (point2d) -- r (number) -- Constructs an axis-aligned ellipse from a centre point and horizontal/vertical semi-axis lengths. The value works with the conic-section functions: eccentricity, foci, vertices, tangentAt, normalAt, ...
centre (point2d) -- rx (number) -- horizontal semi-axisry (number) -- vertical semi-axisConstructs a circle from its general-form coefficients (x^2 + y^2 + 2gx + 2fy + c = 0).
g (number) -- f (number) -- c (number) -- Constructs a 3D direction ratios value (l, m, n) -- unnormalized direction cosines.
a (number) -- b (number) -- c (number) -- The midpoint of two points. Also works for two 3D points.
p (point2d) -- q (point2d) -- The point dividing segment pq internally in the ratio m:n. Also works for two 3D points.
p (point2d) -- q (point2d) -- m (number) -- n (number) -- The point dividing segment pq externally in the ratio m:n. Also works for two 3D points.
p (point2d) -- q (point2d) -- m (number) -- n (number) -- True if three points lie on a common line. Also works for three 3D points.
p (point2d) -- q (point2d) -- r (point2d) -- The distance between two values: point-point, point-line (either order), line-line (parallel only), or circle-circle (between centres). In 3D: point-point, point-line, point-plane, line-line (shortest distance) and between parallel planes.
a (point2d | line2d | circle2d) -- b (point2d | line2d | circle2d) -- The intersection of two values: line-line (a point, or explanatory text if parallel/coincident) or line-circle (either order). Also for two planes: their line of intersection, or text if they are parallel. Also the intersection of two sets.
a (line2d | circle2d) -- b (line2d | circle2d) -- A point's position relative to a line ("above"/"on"/"below") or a circle ("inside"/"on"/"outside").
p (point2d) -- x (line2d | circle2d) -- True if two lines, or two direction ratios, are parallel. Also for two 3D lines or two planes.
a (line2d | ratios) -- b (line2d | ratios) -- same kind as aTrue if two lines, or two direction ratios, are perpendicular. Also for two 3D lines.
a (line2d | ratios) -- b (line2d | ratios) -- same kind as aThe angle, in radians, between two lines, or between two direction ratios. Also for two 3D lines (radians).
a (line2d | ratios) -- b (line2d | ratios) -- same kind as aThe slope of a line. Returns explanatory text for a vertical line.
l (line2d) -- A line's y-intercept. Returns explanatory text for a vertical line.
l (line2d) -- A line's x-intercept. Returns explanatory text for a horizontal line.
l (line2d) -- True if a line is vertical.
l (line2d) -- True if a line is horizontal.
l (line2d) -- True if two lines are the same line. Also for two planes.
l1 (line2d) -- l2 (line2d) -- The foot of the perpendicular from a point to a line. In 3D: from a point to a 3D line or to a plane.
p (point2d) -- l (line2d) -- The mirror image of a point reflected across a line. In 3D: the mirror image of a point in a plane.
p (point2d) -- l (line2d) -- A line in the family l1 + lambda*l2 passing through the intersection of two lines.
l1 (line2d) -- l2 (line2d) -- lambda (number) -- The line through a point, parallel to a given line.
p (point2d) -- l (line2d) -- The line through a point, perpendicular to a given line.
p (point2d) -- l (line2d) -- True if two points lie on the same side of a line.
p (point2d) -- q (point2d) -- l (line2d) -- The area of a circle.
c (circle2d) -- The circumference of a circle.
c (circle2d) -- The diameter of a circle.
c (circle2d) -- The square of a circle's radius.
c (circle2d) -- The tangent line to a circle at a point on it. Also for a parabola, ellipse or hyperbola and a point on it.
c (circle2d) -- p (point2d) -- a point on the circleThe radical axis of two circles.
c1 (circle2d) -- c2 (circle2d) -- How two circles relate to each other (e.g. "intersecting", "concentric", "one inside the other").
c1 (circle2d) -- c2 (circle2d) -- The area of the triangle formed by three points.
p (point2d) -- q (point2d) -- r (point2d) -- The signed area of the triangle formed by three points -- positive for counterclockwise winding, negative for clockwise.
p (point2d) -- q (point2d) -- r (point2d) -- True if three points are collinear (form a degenerate triangle with zero area). With one conic() value: true if the conic is degenerate (a pair of lines, a point, ...).
p (point2d) -- q (point2d) -- r (point2d) -- Classifies a triangle formed by three points (e.g. "equilateral", "isosceles", "right-angled").
p (point2d) -- q (point2d) -- r (point2d) -- The perimeter of the triangle formed by three points.
p (point2d) -- q (point2d) -- r (point2d) -- The centroid of the triangle formed by three points. Also works for three or four 3D points.
p (point2d) -- q (point2d) -- r (point2d) -- The incentre of the triangle formed by three points.
p (point2d) -- q (point2d) -- r (point2d) -- The circumcentre of the triangle formed by three points. Returns explanatory text for a degenerate triangle.
p (point2d) -- q (point2d) -- r (point2d) -- The orthocentre of the triangle formed by three points. Returns explanatory text for a degenerate triangle.
p (point2d) -- q (point2d) -- r (point2d) -- The Euler line of the triangle formed by three points (through the centroid, orthocentre, and circumcentre). Returns explanatory text for a degenerate triangle.
p (point2d) -- q (point2d) -- r (point2d) -- The nine-point centre of the triangle formed by three points. Returns explanatory text for a degenerate triangle.
p (point2d) -- q (point2d) -- r (point2d) -- The length of side a (opposite p) of the triangle formed by three points.
p (point2d) -- q (point2d) -- r (point2d) -- The length of side b (opposite q) of the triangle formed by three points.
p (point2d) -- q (point2d) -- r (point2d) -- The length of side c (opposite r) of the triangle formed by three points.
p (point2d) -- q (point2d) -- r (point2d) -- Converts direction ratios to direction cosines, as a 3-element array.
r (ratios) -- The dot product of two direction ratios.
r1 (ratios) -- r2 (ratios) -- The squared magnitude of a direction ratios value.
r (ratios) -- g, f, c of a circle written as x^2 + y^2 + 2gx + 2fy + c = 0.
c (circle2d) --