isacute: Determine if a triangle is acute

Description Usage Arguments Value Examples

Description

Determine if a triangle is acute

Usage

1
isacute(x, y)

Arguments

x

x coordinates of vertices of a triangle

y

y coordinates of vertices of a triangle

Value

logical. TRUE indicates the triangle is acute

Examples

1
2
isacute(1:3, c(2, 8, 9)) # FALSE
isacute(c(0,0,3), c(0,4,0))  # FALSE

sunsiyu/circler documentation built on May 30, 2019, 8:39 p.m.