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.
 
 
 
 
StackGenVis/frontend/node_modules/normals
Angelos Chatzimparmpas e069030893 fix the frontend 3 years ago
..
.npmignore fix the frontend 3 years ago
LICENSE fix the frontend 3 years ago
README.md fix the frontend 3 years ago
normals.js fix the frontend 3 years ago
package.json fix the frontend 3 years ago

README.md

normals

Estimates normals for surface meshes.

Installation

Using npm:

npm install normals

Example

Here is how to compute the vertex and face normals for the Stanford bunny:

    var bunny = require("bunny");
    bunny.vertexNormals = require("normals").vertexNormals(bunny.cells, bunny.positions[,epsilon]);
    bunny.faceNormals = require("normals").faceNormals(bunny.cells, bunny.positions[,epsilon]);

require("normals").vertexNormals(cells, positions[,epsilon])

This estimates the vertex normals for an oriented mesh.

  • cells is an array of indexed vertex positions
  • positions is an array of vertex positions

Returns: An array of length = positions.length of the per-vertex normals.

require("normals").faceNormals(cells, positions[,epsilon])

This estimates the face normals for an oriented mesh.

  • cells is an array of indexed vertex positions
  • positions is an array of vertex positions

Returns: An array of length = cells.length of the per-face normals.

Credits

(c) 2013 Mikola Lysenko. BSD