Description Usage Arguments Value Examples
Function which calculates a diamiter of a square based on its apexes.
1 | fo_dia_sqr(x1, y1, x2, y2, x3, y3, x4, y4)
|
x1 |
Value of the first point on the X axis. |
y1 |
Value of the first point on the Y axis. |
x2 |
Value of the second point on the X axis. |
y2 |
Value of the second point on the Y axis. |
x3 |
Value of the third point on the X axis. |
y3 |
Value of the third point on the Y axis. |
x4 |
Value of the fourth point on the X axis. |
y4 |
Value of the fourth point on the Y axis. |
Numeric vector
1 2 | fo_dia_sqr(0,0,1/2*sqrt(1),1/2*sqrt(1),0,sqrt(1),-1/2*sqrt(1),1/2*sqrt(1))
fo_dia_sqr(0,0,5,0,5,5,0,5)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.