Cross Product Plane Calculator & Point Offset Audit

Use three ordered anchors to define an oriented plane and triangle. Inspect the orthogonal projection of each measured point and see whether it lies within the triangular patch. Check the signed point-to-plane offset against a user-entered tolerance and save the exact calculation.

3D geometry

Project measured points onto a 3D plane

Anchors and measured coordinates

Use one x, y, z coordinate row per line and one common length unit. Anchor order A, B, C sets the positive side.

3 of 4 points within offset tolerance.

Oriented plane and triangle

Cross-product normal N
(0, -16, 12)
Plane constant d in N · X = d
0
Triangle area
10
Feet on or in the triangle
3 / 4

Inspect each point

Perpendicular projections onto the plane

Open circles mark feet outside the triangle. The ring marks the selected point.

Anchor triangle and projected measured pointsSelected point 1. Inside triangle. Coordinates of its foot are (1, 3/5, 4/5).Equal scale on both axes
Signed perpendicular offset
1
Offset check
Within tolerance
Projected foot location
Inside triangle
Exact projected coordinates
(1, 3/5, 4/5)
Anchor weights A, B, C
(11/20, 1/4, 1/5)
Exact squared offset
1

A point can pass the offset test even when its foot falls outside the triangle.

Export the plane offset audit

Save the exact normal, projected coordinates, anchor weights and squared offsets.

View CSV text

How to use this calculator

  1. Enter ordered anchors A, B and C in x, y, z order, one row per line.
  2. Paste test coordinates and enter the maximum absolute normal offset allowed.
  3. Inspect the projected feet or the signed-offset view. Select a point to read its exact coordinates and triangle weights.
  4. Download the audit to keep the exact geometry and every point check.

The Formula

The mathematical logic powering this calculation is:

Use ordered anchors A, B and C. Put u = B−A and v = C−A. The cross product N = u×v sets the orientation. The plane is N·X = N·A, the triangle area is |N|/2, and zero N means the anchors do not define a plane.

For a measured point P, let w = P−A and S = w·N. The signed normal offset is S/|N|, and its perpendicular foot is F = P−(S/(N·N))N. Compare the squared offset S²/(N·N) to the squared tolerance. Equality passes. Reversing two anchors flips the sign but preserves the projected foot and absolute offset.

Write F = (1−b−c)A+bB+cC. Then b = [(w·u)(v·v)−(w·v)(u·v)]/(N·N), and c = [(w·v)(u·u)−(w·u)(u·v)]/(N·N). The normal component drops out of both dot products. Negative weight means outside. All nonnegative weights mean the foot lies in the triangle, with a zero weight on its boundary. This boundary classification is independent of the offset tolerance.

Use three anchor rows and one through twelve measured rows, in the same Cartesian length unit. Enter decimal coordinates through ±1 billion and up to 12 places after the decimal point. The nonnegative offset tolerance uses the same unit. Signed distances, square-root area and chart coordinates are numerical approximations. Plane coefficients, feet, weights, squared measurements and the tolerance comparisons remain exact for the inputs. The anchors define a single planar triangle, with no surface fit or measurement error model.

Worked Example

If you input:

  • Anchors: (0,0,0), (4,0,0), (0,3,4)
  • Offset tolerance: 1

Result:

The ordered normal is (0,−16,12) and the triangle area is 10. Three out of four measured points pass the offset check. A point on the plane lies outside the anchor triangle.

Frequently Asked Questions

Does a negative offset mean the point fails?

No. The sign shows the side of the oriented plane. Passing uses the absolute normal offset and the tolerance.

Why can a point be within tolerance outside the triangle?

The plane extends indefinitely. The offset checks perpendicular distance to that plane, while the foot’s weights determine whether it lands in the bounded triangle.

What happens with three collinear anchors?

Their cross product is zero, and infinitely many planes can contain their shared line. Supply three noncollinear anchors.

Can I reverse the positive side?

Swap any two anchors. The exact plane is the same, but its normal and the signs of all nonzero offsets reverse.

Similar Calculators