cell-orientation

WebJar for cell-orientation

Лицензия

Лицензия

MIT
Группа

Группа

org.webjars.npm
Идентификатор

Идентификатор

cell-orientation
Последняя версия

Последняя версия

1.0.1
Дата

Дата

Тип

Тип

jar
Описание

Описание

cell-orientation
WebJar for cell-orientation
Ссылка на сайт

Ссылка на сайт

http://webjars.org
Система контроля версий

Система контроля версий

https://github.com/mikolalysenko/cell-orientation

Скачать cell-orientation

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/org.webjars.npm/cell-orientation/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>cell-orientation</artifactId>
    <version>1.0.1</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/cell-orientation/
implementation 'org.webjars.npm:cell-orientation:1.0.1'
// https://jarcasting.com/artifacts/org.webjars.npm/cell-orientation/
implementation ("org.webjars.npm:cell-orientation:1.0.1")
'org.webjars.npm:cell-orientation:jar:1.0.1'
<dependency org="org.webjars.npm" name="cell-orientation" rev="1.0.1">
  <artifact name="cell-orientation" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='cell-orientation', version='1.0.1')
)
libraryDependencies += "org.webjars.npm" % "cell-orientation" % "1.0.1"
[org.webjars.npm/cell-orientation "1.0.1"]

Зависимости

Библиотека не имеет зависимостей. Это самодостаточное приложение, которое не зависит ни от каких других библиотек.

Модули Проекта

Данный проект не имеет модулей.

cell-orientation

Computes the orientation of a cell, given by a list of integer indices.

Example

var orientation = require('cell-orientation')

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

API

require('cell-orienation')(s)

Computes the orientation of the cell

  • s is a list of integers

Returns 0 if s has any duplicates (ie is degenerate), otherwise +/- depending on the ordering of s

License

(c) 2015 Mikola Lysenko. MIT License

Версии библиотеки

Версия
1.0.1