Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

flip-orientation

mikolalysenko10MIT1.0.1

Flips the orientation of a cell

toplogy, cell, orientation, simplicial, complex

readme

flip-orientation

Flips the orientation of a cell.

Example

var flip = require('flip-orientation')

console.log(flip([0, 1, 2]))

Install

npm i flip-orientation

API

require('flip-orientation')(cell)

Flips the orientation of a cell

  • cell is a list of integers

Returns cell, after flipping the orientation of cell

Note This is a destructive operation

License

(c) 2015 Mikola Lysenko. MIT License