geometry
CrossRatio
compute the cross ratio (or anharmonic ratio, or double ratio) of four points
Calling Sequence
Parameters
Description
Examples
CrossRatio(A, B, C, F)
A, B, C, F
-
four points
Given four points A, B, C, F, the routine CrossRatio(A, B, C, F) computes the cross ratio of A, B, C, F taken in this order.
If A, B, C, F are four distinct points on an ordinary line, the cross ratio of A, B, C, F taken in this order is defined as:
SensedMagnitude⁡A,CSensedMagnitude⁡C,BSensedMagnitude⁡A,FSensedMagnitude⁡F,B
The command with(geometry,CrossRatio) allows the use of the abbreviated form of this command.
with⁡geometry:
point⁡A,0,0,point⁡B,3,3,point⁡C,7,7,point⁡F,2111,2111:
CrossRatio⁡A,B,C,F
−98⁢32⁢882⁢28828224
CrossRatio⁡A,C,B,F
18⁢32⁢882⁢627228224
See Also
geometry[AreHarmonic]
geometry[SensedMagnitude]
Download Help Document