geometry
diagonal
return the length of the diagonal of a square
Calling Sequence
Parameters
Description
Examples
form(Sq)
Sq
-
square
The routine returns the length of the diagonal of the given square Sq.
The command with(geometry,diagonal) allows the use of the abbreviated form of this command.
withgeometry:
pointA,0,0,pointB,1,0,pointC,1,1,pointF,0,1:
squareSq,A,B,C,F
diagonalSq
2
See Also
geometry[square]
Download Help Document