Description Usage Arguments Details Value Note Author(s) References See Also Examples
This function returns the circumcircle of a triangle.
1 | circum(x, y)
|
x |
Vector of three elements, giving the x coordinatres of the triangle nodes. |
y |
Vector of three elements, giving the y coordinatres of the triangle nodes. |
This is an interface to the Fortran function CIRCUM found in TRIPACK.
x |
'x' coordinate of center |
y |
'y' coordinate of center |
radius |
circumcircle radius |
signed.area |
signed area of riangle (positive iff nodes are numbered counter clock wise) |
aspect.ratio |
ratio "radius of inscribed circle"/"radius of circumcircle", varies between 0 and 0.5 0 means collinear points, 0.5 equilateral trangle. |
This function is mainly intended to be used by circumcircle
.
Fortran code: R. J. Renka, R code: A. Gebhardt
R. J. Renka (1996). Algorithm 751: TRIPACK: a constrained two-dimensional Delaunay triangulation package. ACM Transactions on Mathematical Software. 22, 1-8.
1 |
$x
[1] 0.5
$y
[1] 0.5
$radius
[1] 0.7071068
$signed.area
[1] 0.5
$aspect.ratio
[1] 0
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.