How this calculation works
Compute exact orientation signs for all labeled triples of planar integer points and compare fixed-label order types.
χ(i,j,k)=sign det[[x_j−x_i,x_k−x_i],[y_j−y_i,y_k−y_i]].A worked example
For (0,0), (2,0), (0,2), (1,1), the four increasing triples contain two positive, one negative and one zero determinant; points 1,2,3 are collinear.
Good to know
3–15 distinct integer planar points within ±1000000. Exact BigInt determinant signs and optional second configuration with matching labels. Fixed-label comparison up to one global reflection; no unlabeled isomorphism search or abstract chirotope realizability solver.
Reference: Primary method or official documentation (opens in a new tab) ↗
More information than a hull
Three ordered points can turn counterclockwise, clockwise or lie on one line. Recording that sign for every increasing labeled triple gives the planar configuration’s realized order type. It preserves which side of each directed line another point occupies. A convex hull alone records only the outer boundary and can lose relationships among interior points.
This is signed information. An ordinary linear matroid records dependence, such as which triples are collinear, but does not retain clockwise versus counterclockwise orientation. Order types are useful when comparing geometric configurations combinatorially while deliberately ignoring exact distances, angles and areas. The calculator reports this distinction rather than treating a matching hull as a complete equivalence test.
Compare this with the Linear matroid circuits and flats calculator from a matrix. Compute the signed orientation of every labeled point triple and compare supplied configurations under fixed labels; an unoriented matroid records dependence without clockwise/counterclockwise signs.
Labels and accepted coordinates
Each row supplies one labeled point, with its row index serving as the label. Coordinates must be integers within the displayed bound, and repeated points are rejected. Collinear triples are allowed because their zero signs carry useful information. The supported size is small enough to list every triple and its exact signed determinant.
An optional second list must have the same number of points. Row zero in one configuration is compared with row zero in the other, and likewise for the remaining labels. The solver does not try every permutation of labels. If two geometrically equivalent point sets use different row orderings, reorder them deliberately before interpreting a fixed-label mismatch.
Calculating one exact sign
Subtract the first point of a triple from the other two points. Their two-dimensional determinant is the signed area of the spanned parallelogram. A positive determinant means a counterclockwise turn; a negative determinant means clockwise. Its absolute value is twice the triangle area, and zero means the three points lie on one affine line.
The integer input lets the implementation use BigInt arithmetic for these determinants. It therefore does not need an epsilon to decide whether an almost-flat triangle is actually collinear. This exactness belongs to the entered integer coordinates. Rounding measured decimal locations to integers can change a sign and is a modeling decision, not a numerical tolerance setting.
Comparing complete sign tables
The sign vector is built in increasing triple order, using labels i less than j less than k. Direct equality means the two configurations have the same fixed-label order type. If every sign is reversed, they agree after one global orientation reversal, as produced by reflection. Zeros must match in either comparison.
A reflection is global: it reverses all nonzero triple orientations together. It cannot selectively fix only a few disagreements. When some signs agree and others reverse, the returned status is different fixed-label order types. The calculator does not claim a continuous deformation exists through nondegenerate configurations merely because a partial list of signs happens to match.
The four-point example
The default points are (0,0), (2,0), (0,2) and (1,1). Triple (0,1,2) has determinant four. Triples (0,1,3) and (0,2,3) have determinants two and minus two. The final triple (1,2,3) has determinant zero because the last point lies on the line segment between the other two.
Consequently, the summary contains two positive triples, one negative triple and one collinear triple. Moving the last point slightly away from that line would change the zero entry to a sign, even if the convex hull stayed the same. This example illustrates why dependence and sidedness both matter in the full table.
Geometric transformations and invariance
Translation leaves every difference vector unchanged. An invertible affine map multiplies all orientation determinants by its determinant. A positive determinant preserves the sign table, and a negative determinant reverses all nonzero signs. Nonuniform scaling and shear can therefore preserve order type even though lengths, angles and a plotted shape change substantially.
A singular affine map can create additional collinearities and falls outside that invariance statement. Individual determinant magnitudes should also not be compared as invariants: they scale with area. Use the signs for the combinatorial comparison, and use the exact determinant column only when you also want to inspect the coordinates’ signed area information.
What this certificate cannot answer
The calculator starts with actual coordinates, so their signs automatically come from a realized point configuration. It does not decide whether an arbitrary abstract sign list can be realized in the plane. That realizability question is a substantially different problem. It also does not search for an affine matrix or minimize a point-registration residual.
For fitting a rotation or translation between measured correspondences, use a registration calculation. For finding the outside boundary, use a convex hull. Use this page when the question is about labeled sidedness and collinearity throughout a configuration. Keeping those outputs separate prevents a correct sign-table match from being mistaken for metric or physical equivalence.
A few questions, answered
Does the same hull imply the same order type?
No. Interior triple orientations and collinearities can differ while the convex hull remains unchanged.
Will labels be permuted automatically?
No. Comparison preserves row labels. An unlabeled isomorphism search is outside the supported task.
Why are decimal coordinates rejected?
Integer coordinates support exact BigInt orientation signs without ambiguous floating collinearity tolerances.
Does a reflected configuration count as equivalent?
The result reports that status separately when every nonzero triple sign reverses and all zero signs match.