StackGenVis: Alignment of Data, Algorithms, and Models for Stacking Ensemble Learning Using Performance Metrics
https://doi.org/10.1109/TVCG.2020.3030352
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
4 years ago | |
|---|---|---|
| .. | ||
| test | 4 years ago | |
| .npmignore | 4 years ago | |
| LICENSE | 4 years ago | |
| README.md | 4 years ago | |
| cmpangle.js | 4 years ago | |
| package.json | 4 years ago | |
README.md
compare-angle
Let A, B, C and D be four points in the plan. Then of the pair of angles ABC and ABD, determine which is larger.
C
* D
\ *
\ABC/
\ / ABD
*-------------*
B A
Example
var compareAngle = require("compare-angle")
var A = [2, 0]
var B = [0, 0]
var C = [-1, 2]
var D = [1, 1]
console.log(compareAngle(A, B, C, D), compareAngle(A, B, D, C))
Output:
1 -1
Install
npm install compare-angle
API
require("compare-angle")(a, b, c, d)
Compares the angles ABC and ABD to determine which is greater.
a,bare the base points of the anglecis the end of the first angledis the end of the second angle
Returns A number indicating which angle is larger
+1if angle ABC is greater than angle ABD0if the angles are equal-1if angle ABD is greater than angle ABC
Credits
(c) 2014 Mikola Lysenko. MIT License