Static
cartesianConvert cartesian coordinates to ternary coordinates
X coordinate
Y coordinate
Ternary point
Static
ternaryCalculate distance between points in ternary space
Reference ternary point
Array of ternary points to measure distance to
Array of distances
Static
ternaryCalculate ternary limits (min/max for each component)
Array of ternary points
Object with lower and upper limits
Static
ternaryCalculate centroids of subtriangles in a segmented equilateral triangle
Number of rows in the segmented equilateral triangle
Array of centroid information
Static
ternaryCalculate vertices of sub-triangles in a segmented equilateral triangle
Centroids of sub-triangles
Array of vertex information
Static
ternaryFind nearest coordinate in set C for each point in P
Array of ternary points
Array of reference ternary points
Array of nearest ternary points
Static
ternaryCalculate vertices of sextant regions
Center point of the sextants
Array of sextant vertex information
Static
ternaryDetermine which sextant a point belongs to
Array of ternary points
Center point of the sextants
Array of sextant ids (1-6) or null
Static
ternaryConvert ternary coordinates to cartesian coordinates for plotting
Ternary point
Cartesian coordinates [x, y]
Ternary geometry functions